From: Aaron Klingaman Date: Wed, 14 Apr 2004 13:54:17 +0000 (+0000) Subject: changed build root X-Git-Tag: myplc-0_4-rc1~13 X-Git-Url: http://git.onelab.eu/?p=pingofdeath.git;a=commitdiff_plain;h=2fc7f1caab2383b2e1d0aeb91dbfbadf91d57479 changed build root --- diff --git a/ipod.spec b/ipod.spec index ef2763a..f63afa1 100644 --- a/ipod.spec +++ b/ipod.spec @@ -9,7 +9,7 @@ Release: %{release} Copyright: GPL Group: System Environment/Kernel Source: %{name}-%{version}.tar.gz -BuildRoot: /tmp/%{name}-%{version}-root +BuildRoot: %{_tmppath}/%{name}-%{version}root %description Startup service to enable Ping Of Death @@ -31,7 +31,7 @@ cp pod $RPM_BUILD_ROOT/etc/init.d/ %clean -rm -rf $RPM_BUILD_ROOT +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files