[python-gdata] Update to new python boilerplate

Adam Goode agoode at fedoraproject.org
Sat Jul 31 16:50:43 UTC 2010


commit 44af49744d30e17b563ed45f273163224bc41877
Author: Adam Goode <adam at spicenitz.org>
Date:   Sat Jul 31 12:45:08 2010 -0400

    Update to new python boilerplate

 .gitignore        |    1 +
 python-gdata.spec |    5 ++++-
 sources           |    2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 796c4c7..73a131e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 gdata-2.0.10.tar.gz
+gdata-2.0.11.final.tar.gz
diff --git a/python-gdata.spec b/python-gdata.spec
index 1f2893d..45c54f9 100644
--- a/python-gdata.spec
+++ b/python-gdata.spec
@@ -1,4 +1,7 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%endif
 
 Name:           python-gdata
 Version:        2.0.10
diff --git a/sources b/sources
index 24dae99..348d2a5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-118611eef4e97f025dd351bbab01bee2  gdata-2.0.10.tar.gz
+fa18432609cc0944437d7d65ae223ae9  gdata-2.0.11.final.tar.gz


More information about the scm-commits mailing list