Bug 441392
Summary: | rpm fails to give a useful error message if rpm-build is not installed | ||
---|---|---|---|
Product: | [Retired] Fedora Infrastructure | Reporter: | Carl Worth (Ampere) <cworth> |
Component: | cvs | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED RAWHIDE | QA Contact: | Jeremy Katz <katzj> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | notting, pnasrat, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-22 15:45:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Carl Worth (Ampere)
2008-04-07 20:27:51 UTC
This isn't an rpm bug but one in the Fedora dist-cvs Makefile.common: "rpm" command support building packages in many many years, but the Makefile.common happily subsititutes rpmbuild for it if rpmbuild isn't available: ifndef RPM RPM := $(shell if test -f /usr/bin/rpmbuild ; then echo rpmbuild ; else echo rpm ; fi) endif Reassigning to infrastructure... Duh, apologies for typos, that should've read: "rpm" command hasn't supported building packages in many many years. Falling back to "rpm" if "rpmbuild" isn't available doesn't make any sense as it wont work, it just complain loudly if "rpmbuild" command can't be found. Fixed. |