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

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


commit 17d5c1955cf6a307f1522dccb054bf20bf14cd0a
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 e0c1e73..dcbc5b6 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