Cannot rebuild from src.rpm

Paul Flo Williams flo at uk.thalesgroup.com
Thu Sep 9 14:06:55 UTC 2010


Aaron Konstam wrote:
> On Wed, 2010-09-08 at 22:19 +0100, Paul Smith wrote:
>>
>> I am trying to rebuild a rpm from its src.rpm, but getting the following error:
>>
>> $ rpmbuild --clean --rebuild myp-devel-0.14-0.src.rpm
>> Installing myp-devel-0.14-0.src.rpm
>> error: File /home/paulus/rpm/SOURCES # Where the tarballs and patches
>> go./myp-devel-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}.tar.gz: No such
>> file or directory
>>
> I don't understand the advice from others. If you look at man rpmbuild
> you will see it is applies to spec files or tarfiles In your caswwe
> before you apply rpmbuild you would have to turn you src rpm into a spec
> file by executing: rpm -i myp-devel-0.14-0.src.rpm

rpmbuild --rebuild takes a source package and does the installation for 
you; you can see it saying "Installing" in the first line of the output.



More information about the users mailing list