Re: rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 11, 2008 at 02:03:36PM +0300, Erez Zilber wrote:

> When I run rpmbuild --rebuild on a src rpm, it opens the tar file and
> tries to cd into it. I see that it runs "cd
> $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION. Can I change it so it will run
> "cd $RPM_PACKAGE_NAME"? How?

Append this to the %setup command:  -n %{name}

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux