Discussion: Macros for Python Specfiles

Bohuslav Kabrda bkabrda at redhat.com
Mon May 6 12:43:55 UTC 2013


Hi all,
as mentioned in [1], I'd like to start a discussion about proposed Python macros.
The full macro file can be seen at [2] and an example diff of converted spec at [3].

The important macros from the proposal are:

%py_default_filter # will filter all *.so file provides from /usr/lib{64}/pythonX.Y/site-packages
%py[3]_build # will run setup.py build with proper args/flags
%py[3]_install # will run setup.py install with proper args

I already proposed this to fpc [4], but it seems that there is a disagreement [5] about the %py_{build,install} macros. This is why I'd like to start a broader discussion about them here.
Thank you for your opinions.

Slavek.

-- 
Regards,
Bohuslav "Slavek" Kabrda.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=953704
[2] https://bugzilla.redhat.com/attachment.cgi?id=739290
[3] https://bugzilla.redhat.com/attachment.cgi?id=739291
[4] https://fedorahosted.org/fpc/ticket/281
[5] https://bugzilla.redhat.com/show_bug.cgi?id=953704#c10


More information about the python-devel mailing list