From 7154a92bf3c9b71af76b23dc9cf5a1fada10bbf8c95a0eeea7477c19e07b21c4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Jul 2015 06:14:30 +0000 Subject: [PATCH] Accepting request 318692 from home:seife:OpenStack:Master fix non-SUSE build by conditionalizing "Suggests:" tag OBS-URL: https://build.opensuse.org/request/show/318692 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymongo?expand=0&rev=41 --- python-pymongo.changes | 5 +++++ python-pymongo.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-pymongo.changes b/python-pymongo.changes index 8a47ee3..7dd1c29 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 25 09:41:42 UTC 2015 - seife+obs@b1-systems.com + +- fix non-SUSE build by conditionalizing "Suggests:" tag + ------------------------------------------------------------------- Fri Jun 19 07:51:59 UTC 2015 - bwiedemann@suse.com diff --git a/python-pymongo.spec b/python-pymongo.spec index d542521..af553bc 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -28,7 +28,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: python-unittest2 +%if 0%{?suse_version} Suggests: mongodb +%endif %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