14
0

Actually make multibuild work.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proto-plus?expand=0&rev=8
This commit is contained in:
2021-11-11 08:25:58 +00:00
committed by Git OBS Bridge
parent b3624afdb0
commit 292696b985
2 changed files with 3 additions and 1 deletions

View File

@@ -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