bdist_rpm problems, and my work around.

Discussion in 'Python' started by zirpu xunre pelxu, Aug 5, 2004.

  1. 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
    zirpu xunre pelxu, Aug 5, 2004
    #1
    1. Advertising

  2. On 05 Aug 2004 10:22:43 -0700, zirpu xunre pelxu <> wrote:
    >
    > 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
    Anthony Baxter, Aug 5, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Piet
    Replies:
    0
    Views:
    494
  2. Replies:
    1
    Views:
    434
    Jérôme Le Bougeant
    Jul 21, 2006
  3. Replies:
    0
    Views:
    370
  4. Greg Copeland

    setup.py bdist_rpm help

    Greg Copeland, Apr 17, 2007, in forum: Python
    Replies:
    1
    Views:
    461
    Greg Copeland
    Apr 17, 2007
  5. Miki Tebeka

    bdist_rpm from Ubuntu to CentOS

    Miki Tebeka, Jun 2, 2011, in forum: Python
    Replies:
    0
    Views:
    207
    Miki Tebeka
    Jun 2, 2011
Loading...

Share This Page