Accepting request 344030 from home:alarrosa:branches:KDE:Qt5

- Python bindings require a recent python-google-apputils, so build
 them where it's available (that's anything recent except SLE12)

OBS-URL: https://build.opensuse.org/request/show/344030
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=40
This commit is contained in:
Ismail Dönmez 2015-11-12 12:45:47 +00:00 committed by Git OBS Bridge
parent 78faca909b
commit 147a54e8f3
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 12 12:30:26 UTC 2015 - alarrosa@suse.com
- Python bindings require a recent python-google-apputils, so build
them where it's available (that's anything recent except SLE12)
-------------------------------------------------------------------
Thu Nov 12 09:36:46 UTC 2015 - alarrosa@suse.com

View File

@ -37,10 +37,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%else
%bcond_with protobuf_java
%endif
%if 0%{?suse_version} > 1210 && 0%{?is_opensuse}
%bcond_without protobuf_python
%else
# Don't build the python bindings in SLE12 or old distros
%if ( 0%{?suse_version} == 1315 && !0%{?is_opensuse} ) || 0%{?suse_version} < 1210
%bcond_with protobuf_python
%else
%bcond_without protobuf_python
%endif
%if 0%{?suse_version} > 1010
BuildRequires: fdupes