SHA256
1
0
forked from pool/protobuf

- Disable python2 bindings

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=90
This commit is contained in:
Martin Pluskal 2020-05-05 05:56:21 +00:00 committed by Git OBS Bridge
parent ec04cb40f8
commit c5a60c6b9c
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 5 05:56:00 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Disable python2 bindings
-------------------------------------------------------------------
Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber <nico.kruber@gmail.com>

View File

@ -22,10 +22,10 @@
%define src_install_dir %{_prefix}/src/%{name}
%define extra_java_flags -source 7 -target 7
# requires gmock, which is not yet in the distribution
%bcond_with check
%bcond_without java
%bcond_without python2
%bcond_without python3
%bcond_with check
%bcond_without java
%bcond_without python3
%bcond_with python2
Name: protobuf
Version: 3.11.4
Release: 0
@ -158,8 +158,7 @@ sed -i -e '/env python/d' python/google/protobuf/internal/*.py
autoreconf -fvi
%configure \
--disable-static
make %{?_smp_mflags}
%make_build
%if %{with java}
pushd java
@ -177,7 +176,7 @@ popd
%if %{with check}
%check
make %{?_smp_mflags} check
%make_build check
%endif
%install