From 8b674a8eac32340ac663c12d3d3714ef85a7e003526a1ae656d8ca64a96443f6 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 2 Jan 2013 21:52:28 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1-modules?expand=0&rev=11 --- python-pyasn1-modules.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pyasn1-modules.spec b/python-pyasn1-modules.spec index c31028c..5a2007e 100644 --- a/python-pyasn1-modules.spec +++ b/python-pyasn1-modules.spec @@ -32,9 +32,10 @@ Requires: python-pyasn1 %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch +%else +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %endif -%{!?python_sitelib: %global python_sitelib %(%{ python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description This is an implementation of ASN.1 types and codecs in Python programming