From e872cf01b05902cac626513a76f5c01308342d887ada66ea3832161af64d9bd0 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 2 Jan 2013 21:57:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=19 --- python-ply.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-ply.spec b/python-ply.spec index f327fb3..4b31f45 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -30,6 +30,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %py_requires +%else +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion} BuildArch: noarch