From 292696b985fbee192713f4d05fd28d11b7f53f4aad7f3bb1e6471ca8022cc5a7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 11 Nov 2021 08:25:58 +0000 Subject: [PATCH] Actually make multibuild work. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=8 --- python-proto-plus.changes | 2 +- python-proto-plus.spec | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python-proto-plus.changes b/python-proto-plus.changes index 5813a91..d4146f2 100644 --- a/python-proto-plus.changes +++ b/python-proto-plus.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Wed Nov 10 01:25:57 UTC 2021 - Steve Kowalik +Thu Nov 11 08:25:24 UTC 2021 - Steve Kowalik - Add multibuild to defeat a build loop. diff --git a/python-proto-plus.spec b/python-proto-plus.spec index af499aa..3517d3a 100644 --- a/python-proto-plus.spec +++ b/python-proto-plus.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test %bcond_without test @@ -40,6 +41,7 @@ BuildRequires: python-rpm-macros # SECTION test requirements %if %{with test} BuildRequires: %{python_module google-api-core >= 1.22.2} +BuildRequires: %{python_module proto-plus} BuildRequires: %{python_module pytest} %endif # /SECTION