From d7a21f9ed36c42fb99edd7f6d12c20a4c5cfd86d8ad824acb9c24a282102db1f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 8 Jan 2023 10:35:57 +0000 Subject: [PATCH] Accepting request 1056707 from home:XRevan86 - Update to version 4.0.0. OBS-URL: https://build.opensuse.org/request/show/1056707 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=70 --- python-nbxmpp-3.2.5.tar.bz2 | 3 --- python-nbxmpp-4.0.0.tar.bz2 | 3 +++ python-nbxmpp.changes | 11 +++++++++++ python-nbxmpp.spec | 26 +++++++++----------------- 4 files changed, 23 insertions(+), 20 deletions(-) delete mode 100644 python-nbxmpp-3.2.5.tar.bz2 create mode 100644 python-nbxmpp-4.0.0.tar.bz2 diff --git a/python-nbxmpp-3.2.5.tar.bz2 b/python-nbxmpp-3.2.5.tar.bz2 deleted file mode 100644 index 178eb08..0000000 --- a/python-nbxmpp-3.2.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8dc87ef64c9a0ff89a9524c35e62d764bb3e90043ac18340a6beb99b81f59ba4 -size 132029 diff --git a/python-nbxmpp-4.0.0.tar.bz2 b/python-nbxmpp-4.0.0.tar.bz2 new file mode 100644 index 0000000..3ca06d9 --- /dev/null +++ b/python-nbxmpp-4.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d12856806c7e1949886461fbb84ba8dd3244200e45f9bd5557499b032abf640b +size 133902 diff --git a/python-nbxmpp.changes b/python-nbxmpp.changes index 42c312f..c39a96b 100644 --- a/python-nbxmpp.changes +++ b/python-nbxmpp.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Jan 6 14:14:26 UTC 2023 - Alexei Sorokin + +- Update to version 4.0.0: + * Add message reactions (XEP-0444) support. + * Add HTTP module. + * Raise required python version to 3.10. + * Remove example client. + * Port to libsoup3. + * XEP-0392: Update to 0.8.0. + ------------------------------------------------------------------- Mon Oct 31 11:23:23 UTC 2022 - Alexei Sorokin diff --git a/python-nbxmpp.spec b/python-nbxmpp.spec index d4b22f6..e663770 100644 --- a/python-nbxmpp.spec +++ b/python-nbxmpp.spec @@ -1,7 +1,7 @@ # # spec file for package python-nbxmpp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,13 +16,15 @@ # -# Requires at least python 3.9 -%define skip_python2 1 -%define skip_python36 1 +# 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 %define _name nbxmpp Name: python-nbxmpp -Version: 3.2.5 +Version: 4.0.0 Release: 0 Summary: XMPP library by Gajim team License: GPL-3.0-or-later @@ -38,7 +40,7 @@ BuildRequires: %{python_module gobject-Gdk} BuildRequires: %{python_module idna} BuildRequires: %{python_module packaging} BuildRequires: %{python_module precis-i18n} -BuildRequires: typelib(Soup) = 2.4 +BuildRequires: typelib(Soup) = 3.0 Recommends: python-gssapi BuildArch: noarch %{?python_enable_dependency_generator} @@ -51,13 +53,6 @@ applications to use Jabber/XMPP networks in a non-blocking way. This library is initialy a fork of xmpppy one, but using non-blocking sockets. -%package doc -Summary: Nbxmpp Documentation -Group: Documentation/Other - -%description doc -This packages provides documentation of Nbxmpp API. - %prep %setup -q @@ -73,11 +68,8 @@ This packages provides documentation of Nbxmpp API. %files %{python_files} %license COPYING +%doc ChangeLog README.md %{python_sitelib}/%{_name}/ %{python_sitelib}/%{_name}-* -%files %{python_files doc} -%doc ChangeLog README.md -%doc %{_name}/examples/ - %changelog