Bug 165087 - spec file changes required with latest rpm config
Summary: spec file changes required with latest rpm config
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rhnlib
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-04 09:58 UTC by Karsten Hopp
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 1.8-6.p24.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-05 00:24:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.