1
0
forked from pool/python-nbxmpp

Accepting request 1170990 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1170990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbxmpp?expand=0&rev=48
This commit is contained in:
Dominique Leuenberger 2024-05-01 12:56:32 +00:00 committed by Git OBS Bridge
commit df9737014b
2 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Apr 19 11:24:06 UTC 2024 - Max Lin <mlin@suse.com>
- Switch to python3.11 for Leap15 by added %{?sle15_python_module_pythons}
- Explicit to define runtime requirements, macro
%{?python_enable_dependency_generator} won't work for Leap 15.
also removed %{?python_enable_dependency_generator}
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 13 13:23:17 UTC 2024 - Alexei Sorokin <sor.alexei@meowr.ru> Tue Feb 13 13:23:17 UTC 2024 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -19,9 +19,7 @@
# Requires at least python 3.10 # Requires at least python 3.10
%define skip_python38 1 %define skip_python38 1
%define skip_python39 1 %define skip_python39 1
%if 0%{?suse_version} <= 1500 && "%{?pythons}%{!?pythons:python3}" == "python3" %{?sle15_python_module_pythons}
%define pythons python310
%endif
%define _name nbxmpp %define _name nbxmpp
Name: python-nbxmpp Name: python-nbxmpp
Version: 4.5.4 Version: 4.5.4
@ -44,9 +42,12 @@ BuildRequires: %{python_module precis-i18n}
BuildRequires: %{python_module sqlite3} BuildRequires: %{python_module sqlite3}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: typelib(Soup) = 3.0 BuildRequires: typelib(Soup) = 3.0
Requires: python-idna
Requires: python-precis-i18n >= 1.0.0
Requires: python-packaging
Requires: python-gobject >= 3.42
Recommends: python-gssapi Recommends: python-gssapi
BuildArch: noarch BuildArch: noarch
%{?python_enable_dependency_generator}
%python_subpackages %python_subpackages