From 3e006f767a5fb4417b4a6d612c1fb0a3b11e88fc4719c1f24a424804eb754e11 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 22 Sep 2011 09:48:57 +0000 Subject: [PATCH] - Fixed SLE build by adding a %define python_sitelib OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=15 --- python-rdflib.changes | 5 +++++ python-rdflib.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-rdflib.changes b/python-rdflib.changes index caf6060..460918b 100644 --- a/python-rdflib.changes +++ b/python-rdflib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 22 09:47:20 UTC 2011 - saschpe@suse.de + +- Fixed SLE build by adding a %define python_sitelib + ------------------------------------------------------------------- Tue Sep 20 14:26:18 UTC 2011 - saschpe@suse.de diff --git a/python-rdflib.spec b/python-rdflib.spec index 004de5e..96026cd 100644 --- a/python-rdflib.spec +++ b/python-rdflib.spec @@ -34,6 +34,7 @@ BuildRequires: python-xml BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description RDFLib is a Python library for working with RDF, a simple yet powerful