[graphite-web/el5] Update spec to work with EL5.

Jonathan Steffan jsteffan at fedoraproject.org
Mon Dec 31 00:12:26 UTC 2012


commit b61e70861510347a66ec6d0c7da97ce491bcfd66
Author: Jonathan Steffan <jsteffan at fedoraproject.org>
Date:   Sun Dec 30 17:12:22 2012 -0700

    Update spec to work with EL5.

 graphite-web.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/graphite-web.spec b/graphite-web.spec
index 17c0d0d..5683816 100644
--- a/graphite-web.spec
+++ b/graphite-web.spec
@@ -1,3 +1,5 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
 Name:           graphite-web
 Version:        0.9.10
 Release:        5%{?dist}


More information about the scm-commits mailing list