Ricardo Niederberger Cabral wrote:
From distutils __version__ = "1.0.3":
File "distutils/command/bdist_rpm.py", line 316, in run assert len(rpms) == 1, \ AssertionError: unexpected number of RPM files found: ['build/bdist.linux-i686/rpm/RPMS/i386/imgSeek-0.7-1.i386.rpm', 'build/bdist.linux-i686/rpm/RPMS/i386/imgSeek-debuginfo-0.7-1.i386.rpm']
I had to remove the assert statement on bdist_rpm.py:316 in order to build my rpm. Would it be possible to change from "assert len(rpms) == 1" to "assert len(rpms) >= 1" ? Since rpmbuild from RH seems to always generate this extra -debuginfo rpm.
Could you submit a bug report / patch for this to SourceForge ?