forked from pool/python-stomp.py
- 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) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomp.py?expand=0&rev=23
This commit is contained in:
committed by
Git OBS Bridge
parent
4dd3c4d2ad
commit
77b770dd76
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user