[python-carbon/el6] Update spec to fixe build issues with el5.

jsteffan jsteffan at fedoraproject.org
Sun Nov 25 00:44:21 UTC 2012


commit f74a086ff9bc44c34a096a7f2b64571c73778d3e
Author: Jonathan Steffan <jsteffan at fedoraproject.org>
Date:   Sat Nov 24 17:44:19 2012 -0700

    Update spec to fixe build issues with el5.

 python-carbon.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/python-carbon.spec b/python-carbon.spec
index a9797ee..98c2bfb 100644
--- a/python-carbon.spec
+++ b/python-carbon.spec
@@ -1,9 +1,10 @@
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 
 Name:           python-carbon
 Version:        0.9.10
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Back-end data caching and persistence daemon for Graphite
+Group:          System Environment/Daemons
 
 License:        ASL 2.0
 URL:            https://launchpad.net/graphite/
@@ -118,5 +119,9 @@ fi
 
 
 %changelog
+* Sat Nov 24 2012 Jonathan Steffan <jsteffan at fedoraproject.org> - 0.9.10-2
+- Update spec to build on el5
+- Fix python_sitelib definition
+
 * Thu May 30 2012 Jonathan Steffan <jsteffan at fedoraproject.org> - 0.9.10-1
 - Initial Package


More information about the scm-commits mailing list