From 5a4e0cceb772e35106be43b17310ee96bd89603d051dfdfd9549bca27cfa4a1f Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 11 Feb 2023 21:36:32 +0000 Subject: [PATCH] Accepting request 1064428 from home:bnavigator:branches:devel:languages:python - Require python independent of python-rpm-packaging being there to create the entry automatically OBS-URL: https://build.opensuse.org/request/show/1064428 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=38 --- python-flit-core.changes | 6 ++++++ python-flit-core.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-flit-core.changes b/python-flit-core.changes index 4b508e8..c924189 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 11 21:00:12 UTC 2023 - Ben Greiner + +- Require python independent of python-rpm-packaging being there + to create the entry automatically + ------------------------------------------------------------------- Fri Feb 10 14:01:13 UTC 2023 - Ben Greiner diff --git a/python-flit-core.spec b/python-flit-core.spec index 169b4b5..9b50bcd 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -68,9 +68,12 @@ BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest} BuildRequires: %{python_module testpath} %endif -# SECTION boo#1186870: we are a transitive build dependency of python-packaging which is used by pythondistdeps.py normally creating this entry +# SECTION boo#1186870 +# We are a transitive build dependency of python-packaging +# which is used by pythondistdeps.py normally creating these entries #!BuildIgnore: %{primary_python}-packaging #!BuildIgnore: python3-packaging +Requires: %{plainpython}(abi) = %{python_version} Provides: %{plainpython}%{python_version}dist(%{modname}) = %{version} %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: %{plainpython}3-%{modname} = %{version}-%{release}