[Bug 526126] Review Request: python3 - Python 3.x (backwards incompatible version)

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 23 23:52:02 UTC 2009


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


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





--- Comment #31 from Dave Malcolm <dmalcolm at redhat.com>  2009-10-23 19:51:58 EDT ---
(In reply to comment #29)
> (In reply to comment #26)
> > Dave, I've downloaded your new specfile and taken a look at it.
> > 
> > 1) I love the description for __os_install_post.  It explains the problem
> > clearly and is very helpful
> Thanks.

Actually, I now think my description is wrong; I now think the definition of
__os_install_post comes from /usr/lib/rpm/redhat/macros (from our downstream
redhat-rpm-config rpm).

I'll send a patch to add a %{__python} argument there, which should cover
building rpms on top of this one; they should be able to a
  %define __python /usr/bin/python3
and rpmbuild should then bytecompile .py files in those rpms with that binary.

I don't think doing so covers the case of this core python3 package though, so
maybe we still need the current workaround (we'd have to somehow define
%{__python} to be the freshly-built python3.1, and set LD_LIBRARY_PATH etc,
which I don't see how to do sanely)

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




More information about the Fedora-package-review mailing list