From a81c6e6c39454c1b090e0d81b22a5db0fe1b150bb98e9d8471771b9bd893f108 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 4 May 2020 14:43:11 +0000 Subject: [PATCH] Accepting request 800047 from home:mslacken:branches:devel:tools:building - disable python2 builds for Tumbleweed OBS-URL: https://build.opensuse.org/request/show/800047 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=88 --- protobuf.changes | 5 +++++ protobuf.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/protobuf.changes b/protobuf.changes index 633582c..2243412 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 4 11:43:58 UTC 2020 - Christian Goll + +- disable python2 builds for Tumbleweed + ------------------------------------------------------------------- Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber diff --git a/protobuf.spec b/protobuf.spec index 2f58b9f..54bc59b 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -24,7 +24,12 @@ # requires gmock, which is not yet in the distribution %bcond_with check %bcond_without java +%if 0%{?suse_version} > 1500 +%bcond_with python2 +%define skip_python2 1 +%else %bcond_without python2 +%endif %bcond_without python3 Name: protobuf Version: 3.11.4