[issue5482] RFC: improve distutils bdist_rpm so it builds pure python modules as single packages that works across architectures

Rudd-O report at bugs.python.org
Wed Mar 18 21:14:18 CET 2009


Rudd-O <rudd-o at rudd-o.com> added the comment:

ahaha! I have the patch that implements this functionality.

1) it renames the RPM package name to python-%packagename-py2.4 and and
its requirements as well.
2) it autooptimizes (-O1) any RPM built if no optimization has been
configured in setup.cfg, so it works with any SELinux-enabled or any
other MAC-enabled platforms.

patch against distutils of python 2.4.  works with latest setuptools
just fine.

----------
keywords: +patch
Added file: http://bugs.python.org/file13367/python-2.4-distutils-bdist_rpm-autonames+optimize.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5482>
_______________________________________


More information about the Python-bugs-list mailing list