From 3a1e31b9871cea26693f5c1e0d16c14ff9b927d9b5144652f007cb236a311828 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 8 Aug 2013 14:35:35 +0000 Subject: [PATCH 1/2] - 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=18 --- python-pymongo.changes | 7 +++++++ python-pymongo.spec | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pymongo.changes b/python-pymongo.changes index 739c7df..b286e8f 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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..4e317e5 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 From eb24c7144d6fcb05cd3dfff8a9eb535db694173c26287ecf5c5df6d0bce1065f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 8 Aug 2013 14:51:09 +0000 Subject: [PATCH 2/2] Accepting request 186415 from home:k0da:ppc - on bigendian platforms we don't build native exentions, so package to python_sitelib instead of python_sitearch on those platforms OBS-URL: https://build.opensuse.org/request/show/186415 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=19 --- python-pymongo.changes | 7 +++++++ python-pymongo.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/python-pymongo.changes b/python-pymongo.changes index b286e8f..629ced2 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/python-pymongo.spec b/python-pymongo.spec index 4e317e5..1868d5e 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -55,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