[dwm] Removing buildroot trash

Petr Sabata psabata at fedoraproject.org
Tue Mar 15 16:54:17 UTC 2011


commit adcedf49403f9438439e16d11b00f6eb1dae7524
Author: Petr Sabata <psabata at redhat.com>
Date:   Tue Mar 15 17:54:00 2011 +0100

    Removing buildroot trash

 dwm.spec |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/dwm.spec b/dwm.spec
index b3cb0ae..ff05248 100644
--- a/dwm.spec
+++ b/dwm.spec
@@ -16,8 +16,6 @@ Source2:        dwm-start.1
 Source3:        dwm.desktop
 Source4:        dwm-user.desktop
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires:  libX11-devel, libXinerama-devel, libxcb-devel
 Requires:       dmenu, xterm
 
@@ -62,7 +60,6 @@ sed -i "s/RELEASE/%{release}/" %{SOURCE2}
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 install -m755 %{SOURCE1} %{buildroot}%{_bindir}/dwm-start
 install -m644 %{SOURCE2} %{buildroot}%{_mandir}/man1/dwm-start.1
@@ -76,9 +73,6 @@ mkdir -p %{buildroot}%{_datadir}/xsessions
 install -m644 %{SOURCE3} %{buildroot}%{_datadir}/xsessions/dwm.desktop
 install -m644 %{SOURCE4} %{buildroot}%{_datadir}/xsessions/dwm-user.desktop
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc LICENSE


More information about the scm-commits mailing list