diff --git a/protobuf.changes b/protobuf.changes index 633582c..f7e7d4f 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 5 05:56:00 UTC 2020 - Martin Pluskal + +- Disable python2 bindings + ------------------------------------------------------------------- Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber diff --git a/protobuf.spec b/protobuf.spec index 2f58b9f..7fdbd22 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -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