Red Hat Bugzilla – Bug 56007
rpm -bb package.spec fails
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
Description of problem:
rpm -bb package.spec fails with "package.spec: No such file or directory"
when rpm-build not installed.
This is a misleading and incorrect error message.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a basic 7.2 server system with rpm but without rpm-build
2. Install a .src.rpm
3. Attempt to build the package by issuing rpm -
Actual Results: rpm fails with the
message "/usr/src/redhat/SPECS/package.spec: No such file or directory".
Expected Results: rpm should have said "rpm: Build option not installed.
Please install the rpm-build package."
Invoke rpmbuild, not rpm. Yes you will need to install the
rpm-build package first.