From 51546a56c8ad495ec5edc14609a046efcdf21788a2a38ffc864c3111e0218433 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 3 Jan 2013 18:10:21 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=7 --- python-distorm3.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-distorm3.spec b/python-distorm3.spec index 7d30932..e107813 100644 --- a/python-distorm3.spec +++ b/python-distorm3.spec @@ -30,7 +30,6 @@ BuildRequires: unzip BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %endif %description @@ -45,7 +44,7 @@ CFLAGS="%{optflags}" python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} -%ifarch x86_64 ppc64 +%ifarch x86_64 ppc64 && 0%{?suse_version} && 0%{?suse_version} > 1110 install -d %{buildroot}%{python_sitearch} mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch} %endif