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:
parent
56b1b95ed2
commit
90fbf5960c
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define modname flit-core
|
||||||
|
%define mypython python
|
||||||
# this must be hardcoded until obs can read it from a prjconf definition
|
# this must be hardcoded until obs can read it from a prjconf definition
|
||||||
%if 0%{suse_version} >= 1550
|
%if 0%{suse_version} >= 1550
|
||||||
%define primary_python python310
|
%define primary_python python310
|
||||||
@ -64,6 +66,13 @@ BuildRequires: %{python_module testpath}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
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
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
Reference in New Issue
Block a user