[Rpm-maint] PATCH: Extend brp-python-bytecompile to support multiple parallel Python stacks

Panu Matilainen pmatilai at redhat.com
Wed Oct 28 07:32:36 UTC 2009


On Tue, 27 Oct 2009, David Malcolm wrote:

> On Tue, 2009-10-27 at 13:47 +0200, Panu Matilainen wrote:
>>
>> Seems reasonable I guess, but there's at least one issue with the
>> patch: it doesn't work correctly on x86_64 and the like due to hardcoded
>> /usr/lib/python* paths. Both lib and lib64 path variants need to be
>> handled by anything dealing with python library path.
>
> Thanks.
>
> Updated patch attached; it assumes that .py files below both
>  - /usr/lib/python$VERSION  and
>  - /usr/lib64/python/python$VERSION
> can be handled by
>  - /usr/bin/python$VERSION

Ok, seems to work for me. Applied, thanks for the patch.

 	- Panu -


More information about the Rpm-maint mailing list