bdist_rpm problems, and my work around.

  • Thread starter zirpu xunre pelxu
  • Start date
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
 
A

Anthony Baxter

python setup.py bdist_rpm

[...]

# eventually complains about the extra -debuginfo package.

This is fixed in 2.4alpha, and the fix will also be in 2.3.5.

Anthony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top