14
0

Accepting request 186541 from devel:languages:python

- on bigendian platforms we don't build native exentions, so
  package to python_sitelib instead of python_sitearch on those
  platforms (forwarded request 186415 from k0da)

OBS-URL: https://build.opensuse.org/request/show/186541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymongo?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2013-08-13 11:23:27 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 2 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Aug 8 14:47:50 UTC 2013 - dvaleev@suse.com
- on bigendian platforms we don't build native exentions, so
package to python_sitelib instead of python_sitearch on those
platforms
-------------------------------------------------------------------
Thu Aug 8 14:38:01 UTC 2013 - speilicke@suse.com
- Drop ExclusiveArch, mongodb is only a Suggets which is plain documentation.
Nobody says that a PPC machine with the Python bindings can't talk to an
x86_64 machine hosting mongodb.
-------------------------------------------------------------------
Tue Jun 4 03:56:25 UTC 2013 - mlin@suse.com

View File

@@ -32,8 +32,6 @@ Suggests: mongodb
%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)")}
%endif
#currently mongodb is available only for little-endian CPU
ExclusiveArch: %{ix86} x86_64
%description
The PyMongo distribution contains tools for interacting with MongoDB
@@ -57,6 +55,10 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%ifarch %{ix86} x86_64 %{arm}
%{python_sitearch}/*
%else
%{python_sitelib}/*
%endif
%changelog