forked from pool/python-pymongo
Accepting request 580295 from home:oertel:branches:devel:languages:python
- fix build on ppc64 and s390x by dropping the ifarch statements all our platforms install this to sitearch OBS-URL: https://build.opensuse.org/request/show/580295 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=53
This commit is contained in:
committed by
Git OBS Bridge
parent
9bd74f166d
commit
36924363e7
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 17:23:35 CET 2018 - ro@suse.de
|
||||||
|
|
||||||
|
- fix build on ppc64 and s390x by dropping the ifarch statements
|
||||||
|
all our platforms install this to sitearch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 23 04:43:48 UTC 2018 - jacobwinski@gmail.com
|
Fri Feb 23 04:43:48 UTC 2018 - jacobwinski@gmail.com
|
||||||
|
|
||||||
|
@@ -54,11 +54,7 @@ export CFLAGS="%{optflags}"
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64le
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
%else
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
@@ -68,10 +64,6 @@ export CFLAGS="%{optflags}"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64le
|
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
%else
|
|
||||||
%{python_sitelib}/*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user