diff --git a/python-stomp.py-7.0.0.tar.gz b/python-stomp.py-7.0.0.tar.gz deleted file mode 100644 index ae0155d..0000000 --- a/python-stomp.py-7.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb5846dff3c6c39b9823ebc9a5b0f6f4635ac4975f918f56fb60f499dd8c0321 -size 74528 diff --git a/python-stomp.py-8.0.0.tar.gz b/python-stomp.py-8.0.0.tar.gz new file mode 100644 index 0000000..90891cb --- /dev/null +++ b/python-stomp.py-8.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b52b676c6d1f813848e22390108481f56ecd900cc530886d9fb426b8e38b2ba +size 83729 diff --git a/python-stomp.py.changes b/python-stomp.py.changes index bb1c3e2..9b5cb88 100644 --- a/python-stomp.py.changes +++ b/python-stomp.py.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Feb 6 08:23:36 UTC 2022 - Sebastian Wagner + +- remove need for two source tarballs, use only the github one with pyproject macros +- update to version 8.0.0: + * Add support for backwards compatible CONNECT in 1.1 and 1.2 protocols (https://github.com/jasonrbriggs/stomp.py/pull/348) + * Flip DEFAULT_SSL_VERSION to use ssl.PROTOCOL_TLS rather than ssl.PROTOCOL_TLSv1 + * Check SSL certificate for expiry if PyOpenSSL is installed + * Remove deprecated constructor params (use_ssl, and other ssl params) + * Minor cleanup (remove debian packaging config, since it didn't work any more) + * Add log_to_stdout method to force command line logging to stdout (useful for testing) + * Various updates for docker testing + * Add mac keepalive functionality + * Minor update to daemon attribute (https://github.com/jasonrbriggs/stomp.py/pull/361) + * Fix issue with heartbeat listener disconnecting the socket (https://github.com/jasonrbriggs/stomp.py/issues/219 - https://github.com/jasonrbriggs/stomp.py/pull/369) + ------------------------------------------------------------------- Mon Apr 12 15:26:52 UTC 2021 - Sebastian Wagner diff --git a/python-stomp.py.spec b/python-stomp.py.spec index a15fbb8..63ae8d9 100644 --- a/python-stomp.py.spec +++ b/python-stomp.py.spec @@ -1,7 +1,7 @@ # # spec file for package python-stomp.py # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,22 @@ %define skip_python2 1 Name: python-stomp.py -Version: 7.0.0 +Version: 8.0.0 Release: 0 Summary: Python STOMP client License: Apache-2.0 URL: https://github.com/jasonrbriggs/stomp.py -Source0: https://files.pythonhosted.org/packages/source/s/stomp.py/stomp.py-%{version}.tar.gz # using github archive for docs -Source1: https://github.com/jasonrbriggs/stomp.py/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +Source0: https://github.com/jasonrbriggs/stomp.py/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} BuildRequires: fdupes +BuildRequires: python-rpm-generators BuildRequires: python-rpm-macros Requires: python-docopt >= 0.6.2 Requires(post): update-alternatives Requires(postun):update-alternatives +%{?python_enable_dependency_generator} BuildArch: noarch %python_subpackages @@ -40,13 +42,12 @@ A Python client library for accessing messaging servers (such as ActiveMQ, Apoll %prep %setup -q -n stomp.py-%{version} -%setup -q -n stomp.py-%{version} -D -b 1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/stomp %python_expand %fdupes %{buildroot}%{$python_sitelib} diff --git a/stomp.py-7.0.0.tar.gz b/stomp.py-7.0.0.tar.gz deleted file mode 100644 index 15a3491..0000000 --- a/stomp.py-7.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb301f338292b1b95089c6f1d3a38a9dd8353a5ff3f921e389dfa5f9413b5a8a -size 34772