[atari++] spec cleanup

Dan Horák sharkcz at fedoraproject.org
Thu Jan 31 21:36:16 UTC 2013


commit a9bdf526ba9a4d6d949839fe2e0a3ffcf56a3eea
Author: Dan Horák <dan at danny.cz>
Date:   Thu Jan 31 22:36:08 2013 +0100

    spec cleanup

 atari++.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/atari++.spec b/atari++.spec
index 68bdefe..3f0541e 100644
--- a/atari++.spec
+++ b/atari++.spec
@@ -9,7 +9,6 @@ URL:            http://www.xl-project.com/
 Source0:        http://www.xl-project.com/download/%{name}_%{version}.tar.gz
 # be verbose during compile
 Patch1:         %{name}-verbose.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  SDL-devel libICE-devel libSM-devel zlib-devel ncurses-devel libpng-devel
 
@@ -40,19 +39,13 @@ make %{?_smp_mflags} OPTIMIZER="$RPM_OPT_FLAGS -DDEBUG_LEVEL=0 -DCHECK_LEVEL=0"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
 # remove installed docs
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYRIGHT CREDITS README.LEGAL README.History README.licence manual
 %{_bindir}/%{name}
 %{_mandir}/man6/%{name}.*


More information about the scm-commits mailing list