diff --git a/python-pymongo.changes b/python-pymongo.changes index 739c7df..629ced2 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -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 diff --git a/python-pymongo.spec b/python-pymongo.spec index 47f830b..1868d5e 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -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