Z
zirpu xunre pelxu
python setup.py bdist_rpm
[...]
# eventually complains about the extra -debuginfo package.
my work around:
in the package dir create .rpmmacros with just these lines:
%define debug_package %{nil}
#%#define _unpackaged_files_terminate_build 0
the 2nd line is not necessary usually, but there for reference.
then to build packages i do:
HOME=`pwd` python setup.py bdist_rpm
Quetions for those who might know:
where can i define rpm macros in setup.py? there doesn't seem to be any support
for changing those default spec file templates that bdist_rpm uses.
-a
[...]
# eventually complains about the extra -debuginfo package.
my work around:
in the package dir create .rpmmacros with just these lines:
%define debug_package %{nil}
#%#define _unpackaged_files_terminate_build 0
the 2nd line is not necessary usually, but there for reference.
then to build packages i do:
HOME=`pwd` python setup.py bdist_rpm
Quetions for those who might know:
where can i define rpm macros in setup.py? there doesn't seem to be any support
for changing those default spec file templates that bdist_rpm uses.
-a