Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   RPM Package Manager (http://www.linux-archive.org/rpm-package-manager/)
-   -   rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION (http://www.linux-archive.org/rpm-package-manager/141044-rpmbuild-tries-cd-into-rpm_package_name-rpm_package_version.html)

"Erez Zilber" 08-11-2008 11:03 AM

rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 
Hi,

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?

Thanks,
Erez

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

Jos Vos 08-11-2008 11:10 AM

rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 
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@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204

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

"Erez Zilber" 08-11-2008 03:15 PM

rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 
On Mon, Aug 11, 2008 at 2:10 PM, Jos Vos <jos@xos.nl> wrote:
> 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}
>

Thanks!

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


All times are GMT. The time now is 03:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.