[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: .pyc files

On Mon, Apr 19, 2004 at 01:13:15PM -0400, Stephen J. Smith wrote:

> I don't know, but I will say that I don't like the way the Mailman RPM
> in FC1 does it.  It includes the .pyc files _and_ it has a postinstall
> script that promptly deletes them all and rebuilds them.  This means
> that "rpm -qV mailman" lists all the .pyc files as changed immediately
> after the RPM is installed.

Which is an *extremely* bad packaging pratice, IMHO.  The worst rpm's
can be recognized by the %post scripts, in most cases :-(.

I have serious doubts about compiling Python code in brp-... scripts.
Shouldn't this be under direct control (only) of the %build phase?

I'm a bit afraid too many magical things happen.  If you see how all
kinds of scripts deal with stripping (see one of my recent postings
on the rpm-list, which was never answered b.t.w.) and magically do
different things in different cases (unintended, maybe, probably)...

--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]