[stalonetray] Clean up spec file
Ben Boeckel
mathstuf at fedoraproject.org
Wed Jul 11 02:44:11 UTC 2012
commit af76be406e4d1108390427ec47f3fa6e41f185c5
Author: Ben Boeckel <mathstuf at gmail.com>
Date: Tue Jul 10 22:43:50 2012 -0400
Clean up spec file
stalonetray.spec | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/stalonetray.spec b/stalonetray.spec
index fea4037..596f54c 100644
--- a/stalonetray.spec
+++ b/stalonetray.spec
@@ -12,8 +12,6 @@ License: GPLv2+
URL: http://stalonetray.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildRequires: libX11-devel
%description
@@ -31,12 +29,7 @@ make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=%{buildroot} INSTALL="install -p"
%files
More information about the scm-commits
mailing list