Red Hat Bugzilla – Bug 21121
Can't build SRPMs with rpm 4.0
Last modified: 2007-03-26 23:37:42 EDT
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.
The build modes of rpm are now resident in the rpm-build package. Install that
package in order
to build packages.