Bug 452477 - rpmbuild --rmsource should not check dependencies
rpmbuild --rmsource should not check dependencies
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jindrich Novy
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-23 06:25 EDT by Stepan Kasal
Modified: 2018-04-11 05:40 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-11 10:59:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Stepan Kasal 2008-06-23 06:25:27 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.
Comment 1 Jeff Johnson 2008-06-24 13:51:15 EDT
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.
Comment 2 Bug Zapper 2008-11-25 21:27:36 EST
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:
Comment 3 Jindrich Novy 2009-01-11 10:59:55 EST
Indeed, checking for build dependencies only when removal of sources/spec is needed is a pure nonsence.

It is now fixed upstream.

Note You need to log in before you can comment on or make changes to this bug.