[python-gdata/el5/master] Add el5 build root stuff

Adam Goode agoode at fedoraproject.org
Mon Aug 2 02:27:27 UTC 2010


commit 8864258fc4a3518aa9da796fe33e5b3db9ec1308
Author: Adam Goode <adam at spicenitz.org>
Date:   Sun Aug 1 22:25:17 2010 -0400

    Add el5 build root stuff

 python-gdata.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/python-gdata.spec b/python-gdata.spec
index 8239701..faac78d 100644
--- a/python-gdata.spec
+++ b/python-gdata.spec
@@ -16,6 +16,7 @@ Group:          Development/Languages
 License:        ASL 2.0
 URL:            http://code.google.com/p/gdata-python-client/
 Source0:        http://gdata-python-client.googlecode.com/files/gdata-%{version}.final.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
@@ -55,6 +56,7 @@ find samples src -type f -print0 | xargs -0 chmod a-x
 
 
 %install
+rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 


More information about the scm-commits mailing list