diff --git a/python-nbxmpp.changes b/python-nbxmpp.changes index ba680ce..e86bafd 100644 --- a/python-nbxmpp.changes +++ b/python-nbxmpp.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Apr 19 11:24:06 UTC 2024 - Max Lin + +- 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 diff --git a/python-nbxmpp.spec b/python-nbxmpp.spec index 37f05d1..6631ccf 100644 --- a/python-nbxmpp.spec +++ b/python-nbxmpp.spec @@ -19,9 +19,7 @@ # Requires at least python 3.10 %define skip_python38 1 %define skip_python39 1 -%if 0%{?suse_version} <= 1500 && "%{?pythons}%{!?pythons:python3}" == "python3" -%define pythons python310 -%endif +%{?sle15_python_module_pythons} %define _name nbxmpp Name: python-nbxmpp Version: 4.5.4 @@ -44,9 +42,12 @@ BuildRequires: %{python_module precis-i18n} BuildRequires: %{python_module sqlite3} BuildRequires: %{python_module wheel} 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 BuildArch: noarch -%{?python_enable_dependency_generator} %python_subpackages