Discussion:
rpmbuild tries to cd into $RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
Erez Zilber
17 years ago
Permalink
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
Jos Vos
17 years ago
Permalink
Post by Erez Zilber
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 <***@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
Erez Zilber
17 years ago
Permalink
Post by Jos Vos
Post by Erez Zilber
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!

Loading...