[bitfrost] spec cleanup

Peter Robinson pbrobinson at fedoraproject.org
Mon Dec 12 15:33:21 UTC 2011


commit cc85ba1d68d94166845e147a78742a48d4268707
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Mon Dec 12 15:33:13 2011 +0000

    spec cleanup

 bitfrost.spec |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/bitfrost.spec b/bitfrost.spec
index ad36940..0fd3ae5 100644
--- a/bitfrost.spec
+++ b/bitfrost.spec
@@ -9,9 +9,8 @@ Group:		System Environment/Base
 License:	LGPLv2+ and GPLv2+ and Public Domain
 URL:		http://wiki.laptop.org/go/Bitfrost
 Source0:	http://dev.laptop.org/pub/source/bitfrost/%{name}-%{version}.tar.bz2
-BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-Requires: sugar-toolkit
+Requires: 	sugar-toolkit
 BuildRequires:	python-devel, Pyrex
 
 
@@ -30,14 +29,10 @@ make OPTFLAGS="$RPM_OPT_FLAGS"
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --skip-build --install-lib "%{python_sitearch}" --root $RPM_BUILD_ROOT
 %{__install} -d $RPM_BUILD_ROOT/%{python_sitearch}/bitfrost/util
 %{__install} -m 755 bitfrost/util/{pysign.so,pyverify.so} $RPM_BUILD_ROOT/%{python_sitearch}/bitfrost/util/
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 
 %files
 %defattr(-,root,root,-)


More information about the scm-commits mailing list