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:
parent
ec04cb40f8
commit
c5a60c6b9c
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user