From 6e21fed35442bb7e638f9d7e632e08c24677fb6716b7670d93601e1fb5611979 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 5 May 2020 09:16:54 +0000 Subject: [PATCH] osc copypac from project:devel:tools:building package:protobuf revision:87 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=91 --- protobuf.changes | 5 ----- protobuf.spec | 13 +++++++------ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/protobuf.changes b/protobuf.changes index f7e7d4f..633582c 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -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 7fdbd22..2f58b9f 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 python3 -%bcond_with python2 +%bcond_with check +%bcond_without java +%bcond_without python2 +%bcond_without python3 Name: protobuf Version: 3.11.4 Release: 0 @@ -158,7 +158,8 @@ sed -i -e '/env python/d' python/google/protobuf/internal/*.py autoreconf -fvi %configure \ --disable-static -%make_build + +make %{?_smp_mflags} %if %{with java} pushd java @@ -176,7 +177,7 @@ popd %if %{with check} %check -%make_build check +make %{?_smp_mflags} check %endif %install