Re:[Distutils] [python2.2.2 + RedHat9] doesn't work correctly

Ricardo Niederberger Cabral ncabral at
Mon Sep 29 09:58:53 EDT 2003

> I have moved under RedHat9 ; and now, I obtain an assertion failure when I have
> File "/usr/lib/python2.2/distutils/command/", line 314, in run
>    assert len(rpms) == 1, \
> AssertionError: unexpected number of RPM files found: ['build/bdist.linux-i686/rpm/RPMS/i386/DaVaW-1.2-1.i386.rpm',
> 'build/bdist.linux-i686/rpm/RPMS/i386/DaVaW-debuginfo-1.2-1.i386.rpm']

I had the same problem, so i made a patch to remove that warning so bdist_rpm moves all RPMs to the 'dist' dir properly. See the attachment at:

Best regards,
Ricardo Niederberger Cabral
<ncabral at terra dot com dot br>

More information about the Distutils-SIG mailing list