summaryrefslogtreecommitdiff
path: root/zenity.spec.in
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-03-07 08:36:58 +0000
committerGlynn Foster <gman@src.gnome.org>2003-03-07 08:36:58 +0000
commit8b80ff46e18266f31a946c0d126ae11dfffe82d4 (patch)
tree57ec08319afdbc7e2b70b53ecf0f9b648a7443d4 /zenity.spec.in
parent*** empty log message *** (diff)
downloadzenity-8b80ff46e18266f31a946c0d126ae11dfffe82d4.tar.gz
zenity-8b80ff46e18266f31a946c0d126ae11dfffe82d4.tar.bz2
zenity-8b80ff46e18266f31a946c0d126ae11dfffe82d4.zip
More updates.
2003-03-07 Glynn Foster <glynn.foster@sun.com> * zenity.spec.in: More updates.
Diffstat (limited to 'zenity.spec.in')
-rw-r--r--zenity.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/zenity.spec.in b/zenity.spec.in
index 16133b5b..c9867793 100644
--- a/zenity.spec.in
+++ b/zenity.spec.in
@@ -53,7 +53,7 @@ Zenity is especially useful in scripts.
%prep
%setup -q
-%{__rm} -rf $RPM_BUILD_ROOT
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%build
@@ -62,12 +62,12 @@ Zenity is especially useful in scripts.
%install
-%{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix}
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%{__make} prefix=$RPM_BUILD_ROOT%{rpm_prefix} install
%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix}
%files
bgstack15