On Tue, Sep 13, 2011 at 07:50:40AM -0500, Jeffrey Ness wrote: > Greetings Toshio, > > It is possible to byte compile both Python 2.4 and Python 2.6 packages within > the same SPEC, > please have a look at bug: > > https://bugzilla.redhat.com/show_bug.cgi?id=700567 > > The line that is important is "%global __os_install_post > %__multiple_python_os_install_post" > Excellent. That not only works, it simplifies considerably the logic in the python-pygments package.
One side note when looking at the proposed elixir spec: it's not using a separate source/build directory for the python26 build. So if there were things that aren't bytecompiled (because the rpm byte compilation script is run afterwards) and differ between the python-2.4 and python-2.6 builds you'd get the wrong thing installed (I'm thinking compiled modules here but there could be other things as well). -Toshio "Who now updates the python26 page on the wiki with the recipe for doing byte compilation"
pgpABannPRiHV.pgp
Description: PGP signature
_______________________________________________ epel-devel-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/epel-devel-list
