From 38ca559e838e37eeb8976420994f1e5c38d8bed7c2b2d403ed23faeb44a85ac4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 18 Jun 2021 19:33:47 +0000 Subject: [PATCH] Accepting request 900810 from home:bnavigator:branches:devel:languages:python - provide python3*dist(six): work around boo#1186870 OBS-URL: https://build.opensuse.org/request/show/900810 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=88 --- python-six.changes | 5 +++++ python-six.spec | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/python-six.changes b/python-six.changes index 8a34f82..0e79946 100644 --- a/python-six.changes +++ b/python-six.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 17 16:58:25 UTC 2021 - Benjamin Greiner + +- provide python3*dist(six): work around boo#1186870 + ------------------------------------------------------------------- Sun May 9 17:19:05 UTC 2021 - Dirk Müller diff --git a/python-six.spec b/python-six.spec index 34be05f..f293211 100644 --- a/python-six.spec +++ b/python-six.spec @@ -1,5 +1,5 @@ # -# spec file for package python-six-test +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -27,6 +27,8 @@ %bcond_with test %define psuffix %{nil} %endif +# in order to avoid rewriting for subpackage generator +%define mypython python Name: python-six%{psuffix} Version: 1.16.0 Release: 0 @@ -45,6 +47,11 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: python3-Sphinx %endif +# work around boo#1186870 +Provides: %{mypython}%{python_version}dist(six) = %{version} +%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" +Provides: %{mypython}3dist(six) = %{version} +%endif %python_subpackages %description