Cannot rebuild from src.rpm

Paul Smith phhs80 at gmail.com
Thu Sep 9 00:19:56 UTC 2010


On Wed, Sep 8, 2010 at 11:03 PM, Kwan Lowe <kwan at digitalhermit.com> 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
>> warning: user stewart does not exist - using root
>> warning: group stewart does not exist - using root
>> warning: user stewart does not exist - using root
>> warning: group stewart does not exist - using root
>> 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
>> $
>
> It looks like you have a typo in your spec file... Can you post the spec?

Thanks to all who replied. The problem is now fixed; I just replaced

PACKAGE_VERSION and PACKAGE_RELEASE

by

"version" and "release"

in the spec file.

Paul


More information about the users mailing list