Bug 165087

Summary: spec file changes required with latest rpm config
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: rhnlibAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.8-6.p24.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 00:24:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2005-08-04 09:58:03 UTC
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):
rhnlib-1.8-6.p24.1

How reproducible:
Always

Steps to Reproduce:
1.rebuild on a current rawhide system 
2.
3.
  

Expected Results:  This should be fixed before the next massrebuild

Additional info:

Comment 1 Mihai Ibanescu 2005-08-10 03:24:45 UTC
Passing --optimize=1 to setup.py install seems to include the .pyo files. Fixed
in 1.8-6.p24.11