On Thu, 2006-03-30 at 10:56 -0800, Toshio Kuratomi wrote: > On Thu, 2006-03-30 at 12:42 -0600, Jason L Tibbitts III wrote: > > >>>>> "JLT" == Jason L Tibbitts, <Jason> writes: > > > > JLT> Since I can't delete these files, either I have to package them > > JLT> or %ghost them. Which is preferable? > > > > Sure enough, if I do either of these then rpmlint complains: > > > > W: denyhosts non-executable-in-bin /usr/bin/denyhosts.pyc 0644 > > W: denyhosts non-executable-in-bin /usr/bin/denyhosts.pyo 0644 > > > I'm assuming denyhosts.py is not being used as a library, only as an > application, is that correct? > > Will: > %files > %exclude /usr/bin/denyhosts.pyc > %exclude /usr/bin/denyhosts.pyo > work? This seems reasonably clean. It will work on FC5+ with redhat-rpm-config installed, but note that %exclude will fail if the files don't exist, so one wants to explicitly create them in %install if the intent is to support other build configurations from the same specfile. > You could also try renaming the > script so it doesn't have the .py extension which an initial glance > seems to be brp-python-bytecompile's heuristic. Right. https://bugzilla.redhat.com/182498 -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list