[Bug 176855] Review Request: python-cpio: A Python module for accessing cpio archives

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 4 08:22:56 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: python-cpio: A Python module for accessing cpio archives


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176855





------- Additional Comments From paul at city-fan.org  2006-01-04 03:22 EST -------
(In reply to comment #1)
> Sorry for a bit off-topic comment but how *.pyo files should be handled? In
> /usr/share/fedora/spectemplate-python.spec from fedora-rpmdevtools there is such
> a comment:
> 
> # mark *.pyo as %ghost (do not include in package).
> 
> but in your spec file and in some Extras' packages these files are provided in
> final RPMs. I'm asking because this problem concerns my package, too ( bug
> #176653 ).

Include the *.pyo files in the files list, optionally with the %ghost attribute.

Without the %ghost attribute, the files will be included as normal.

With the %ghost attribute, the files won't be included in the RPM but will be
removed if they exist when then package is removed (and they might exist if root
runs the application and the .pyo files get written at that time).

Either way, the package cleans up after itself when it's removed. Your choice
which way to go.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list