Accepting request 989439 from home:bnavigator:branches:devel:languages:python

.

OBS-URL: https://build.opensuse.org/request/show/989439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=25
This commit is contained in:
Benjamin Greiner 2022-07-15 13:02:15 +00:00 committed by Git OBS Bridge
parent 56b1b95ed2
commit 90fbf5960c

View File

@ -16,6 +16,8 @@
#
%define modname flit-core
%define mypython python
# this must be hardcoded until obs can read it from a prjconf definition
%if 0%{suse_version} >= 1550
%define primary_python python310
@ -64,6 +66,13 @@ BuildRequires: %{python_module testpath}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION boo#1186870: we are a transitive build dependency of python-packaging which is used by pythondistdeps.py normally creating this entry
#!BuildIgnore: python3-packaging
Provides: %{mypython}%{python_version}dist(%{modname}) = %{version}
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
Provides: %{mypython}3dist(%{modname}) = %{version}
%endif
# /SECTION
%python_subpackages
%description