forked from pool/python-distorm3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distorm3?expand=0&rev=9
This commit is contained in:
@@ -44,10 +44,12 @@ CFLAGS="%{optflags}" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
%ifarch x86_64 ppc64 && 0%{?suse_version} > 1110
|
||||
%ifarch x86_64 ppc64
|
||||
%if 0%{?suse_version} && 0%{?suse_version} > 1110
|
||||
install -d %{buildroot}%{python_sitearch}
|
||||
mv %{buildroot}%{python_sitelib}/* %{buildroot}%{python_sitearch}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
|
||||
Reference in New Issue
Block a user