From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.3 (X11; Linux i686; U;) Gecko/20020523 Description of problem: If rpm-build is not installed (RH 7.3 Workstation Standard) and you try to rebuild a srpm using rpm --rebuild foo.src.rpm you get an error-message "foo.src.rpm: No such file or directory" But this is not correct, the file exist, only rpm-build is not installed. This error messeage is annoying and confusing. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm --rebuild foo.src.rpm "foo.src.rpm: No such file or directory" 2.sudo rpm -ivh /path/to/rpm-build.rpm 3.rpm --rebuild foo.src.rpmrpm --rebuild foo.src.rpm [now it works] [thl@thl drt]$ rpm --version RPM version 4.0.4
The build modes of rpm moved to a separate executable almost 2 years ago. Install the rpm-build package, and start trying to remember to type rpmbuild as that is going to be the final fix (when I'm permitted to remove the legacy compatibility).
Yes, that's okay, but I think the anoying and confusing error Message and/or the man files of normal rpm should be fixed. This error message does not give you the smalles't hint to what is realy wrong. But that's your decision, so, have a nice day an sorry for the trouble. Bye