From 6a186d79acb0a9636465b2d8bff09678214f30ee3cc20174da3a917898baceee Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Dec 2020 21:35:33 +0000 Subject: [PATCH] Accepting request 855881 from home:bnavigator:branches:devel:languages:python - This package depends on python3-cliff from openstack, which is only available for the default python3 flavor. As a consequence, also only build for the primary python3-flavor. gh#openSUSE/python-rpm-macros#66 OBS-URL: https://build.opensuse.org/request/show/855881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=38 --- python-stestr.changes | 8 ++++++++ python-stestr.spec | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-stestr.changes b/python-stestr.changes index c793676..d596f74 100644 --- a/python-stestr.changes +++ b/python-stestr.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Dec 14 21:17:21 UTC 2020 - Benjamin Greiner + +- This package depends on python3-cliff from openstack, which is + only available for the default python3 flavor. As a consequence, + also only build for the primary python3-flavor. + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Thu Apr 9 10:47:36 UTC 2020 - Tomáš Chvátal diff --git a/python-stestr.spec b/python-stestr.spec index 6369887..07c627c 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -# upstream dropped python 2 -%define skip_python2 1 +%{?!python_module:%define python_module() python3-%{**}} +# depending on openstack packages: stay on primary python interpreter only +%define pythons python3 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -%{flavor}