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