Red Hat Bugzilla – Bug 165087
spec file changes required with latest rpm config
Last modified: 2007-11-30 17:11:11 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b3) Gecko/20050729 Fedora/1.1-0.2.5.deerpark.alpha2 Firefox/1.0+
Description of problem:
rpm now creates .pyo files with brp-python-bytecompile. Those files aren't
in the filelist created by 'python setup.py ... --record'.
Therefore rebuilds on a current rawhide system fail with 'Installed (but unpackaged) file(s) found'
Either find a way to prevent running brp-python-bytecompile, or include the .pyo files in the filelist.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rebuild on a current rawhide system
Expected Results: This should be fixed before the next massrebuild
Passing --optimize=1 to setup.py install seems to include the .pyo files. Fixed