[dumb] Nuke buildroot stuff

Hans de Goede jwrdegoede at fedoraproject.org
Wed Jul 13 08:03:08 UTC 2011


commit 56e29346db71e1bb0a9de1ed5c8989adc5dc4692
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Wed Jul 13 10:04:11 2011 +0200

    Nuke buildroot stuff

 dumb.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/dumb.spec b/dumb.spec
index 85c6b8e..7f8d625 100644
--- a/dumb.spec
+++ b/dumb.spec
@@ -10,7 +10,6 @@ Source1:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}-auto
 Source2:        license-clarification.eml
 Patch0:         dumb-0.9.3-CVE-2006-3668.patch
 Patch1:         dumb-0.9.3-license-clarification.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  allegro-devel
 
 %description
@@ -43,18 +42,12 @@ make %{?_smp_mflags} LIBS=-lm
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 #clean out .la and static libs
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post -p /sbin/ldconfig
-
 %postun -p /sbin/ldconfig
 
 


More information about the scm-commits mailing list