From fa383b4009b5dbd53cfda77ce99b7957361a53cf31472a775cac05baf405b199 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 27 Feb 2012 12:52:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=3 --- python-distorm3.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-distorm3.spec b/python-distorm3.spec index 52b9bbf..2ac166f 100644 --- a/python-distorm3.spec +++ b/python-distorm3.spec @@ -30,8 +30,6 @@ 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()")} -%else -%py_requires %endif %description @@ -45,8 +43,10 @@ CFLAGS="%{optflags}" python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} +%ifarch x86_64 install -d %{buildroot}%{python_sitearch} mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch} +%endif %files %defattr(-,root,root)