Bug 21121

Summary: Can't build SRPMs with rpm 4.0
Product: [Retired] Red Hat Linux Reporter: Paul Hamer <paul>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-20 13:53:53 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 Paul Hamer 2000-11-20 13:53:50 UTC
The rpm tool supplied with RH 7 does not seem to accept the -ba option. Also the --rebuild option causes the rpm command to simply print out 
its help information. Under RH 6.2 I could use the following commands to generate an RPM out of an SRPM:

> rpm -ihv thing.src.rpm
This still works fine
> rpm -ba --target=i686 thing.spec
These options are no longer accepted.

Comment 1 Jeff Johnson 2000-11-20 13:57:31 UTC
The build modes of rpm are now resident in the rpm-build package. Install that
package in order
to build packages.