Red Hat Bugzilla – Bug 452477
rpmbuild --rmsource should not check dependencies
Last modified: 2013-07-02 19:30:23 EDT
Description of problem:
$ rpmbuild --rmsource --rmspec SPECS/hal.spec
error: Failed build dependencies:
dbus-devel = 0.22 is needed by hal-0.4.2-8.EL4.x86_64
I just wanted to remove the files brought in by an unfortunate rpm -i hal*.src.rpm
Neither --rmsource nor --rmspec should check the BuildRequires.
Version-Release number of selected component (if applicable):
mcepl is also annoyed by this bug^H^H^Hfeature.
Attaching a --nodeps transparently to --rmsoure is no harder than
echo "rpmbuild alias --rmsource --rmsource --nodeps" >> ~/.popt
But feel free to be annoyed if you're too lazy to configure the tools that you use. That works too.
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
Indeed, checking for build dependencies only when removal of sources/spec is needed is a pure nonsence.
It is now fixed upstream.