3
0

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
This commit is contained in:
Benjamin Greiner 2023-02-11 21:36:32 +00:00 committed by Git OBS Bridge
parent 455497a7ea
commit 5a4e0cceb7
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Feb 11 21:00:12 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Require python independent of python-rpm-packaging being there
to create the entry automatically
-------------------------------------------------------------------
Fri Feb 10 14:01:13 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

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