forked from pool/python-pymongo
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
This commit is contained in:
@@ -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
|
Fri Jun 19 07:51:59 UTC 2015 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
@@ -28,7 +28,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-unittest2
|
BuildRequires: python-unittest2
|
||||||
|
%if 0%{?suse_version}
|
||||||
Suggests: mongodb
|
Suggests: mongodb
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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)")}
|
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
%endif
|
%endif
|
||||||
|
Reference in New Issue
Block a user