python package: pyo files

Jeremy Katz katzj at redhat.com
Wed Aug 9 17:03:09 UTC 2006


On Wed, 2006-08-09 at 18:46 +0200, Michał Bentkowski wrote:
> 2006/8/9, Laurent Rineau <laurent.rineau__fedora_extras at normalesup.org>:
> > Actually, those guidelines are quite ambiguous: can a package ship .pyo files
> > or not?
> It is really ambigous... IMHO .pyo shouldn't be added to package and
> this is done by doing %ghost macro.

They need to be present so that things can end up with the correct
SELinux context -- otherwise, if you run a python app with -O2 as a
user, you end up getting various avc denials

Jeremy




More information about the fedora-extras-list mailing list