[python-rdflib/el5] We need to define sitelib

Pierre-YvesChibon pingou at fedoraproject.org
Fri Jan 20 10:10:57 UTC 2012


commit ff24f7ae48aa25e0f6d150a8e66efbb566297d37
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Fri Jan 20 11:09:47 2012 +0100

    We need to define sitelib

 python-rdflib.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/python-rdflib.spec b/python-rdflib.spec
index 30bd4c9..a0030f9 100644
--- a/python-rdflib.spec
+++ b/python-rdflib.spec
@@ -1,3 +1,4 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
 # The upstream test suite does not pass on recent versions of Fedora
 # See package review (bug 378841)
 # For now, we disable running the test suite:


More information about the scm-commits mailing list