forked from pool/python-amqpstorm
Accepting request 886696 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/886696 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-amqpstorm?expand=0&rev=12
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1944285bcbac0044b6b100183e2adcc872ac187a4e1f3e855f61a23c4e02c1b
|
||||
size 73418
|
||||
3
AMQPStorm-2.8.4.tar.gz
Normal file
3
AMQPStorm-2.8.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f74f9d32d0d231f2625b16c92ce8649da7cb59de81cb4b4b800fdd34762d3223
|
||||
size 77302
|
||||
1148
pamqp3.patch
Normal file
1148
pamqp3.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 13:03:19 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Upadte to 2.8.4
|
||||
* Added getter/setter methods for Message properties expiration, message_type and user_id
|
||||
* Fixed pip sdist circular dependency
|
||||
* Fixed basic.consume argument type in documentation
|
||||
* Fixed a bug in Message.create where it would mutate the properties dict
|
||||
- Create patch pamqp3.patch for better compatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 06:12:20 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-amqpstorm
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 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,21 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-amqpstorm
|
||||
Version: 2.8.1
|
||||
Version: 2.8.4
|
||||
Release: 0
|
||||
Summary: Thread-safe Python RabbitMQ Client & Management library
|
||||
License: MIT
|
||||
URL: https://github.com/eandersson/amqpstorm
|
||||
Source: https://files.pythonhosted.org/packages/source/A/AMQPStorm/AMQPStorm-%{version}.tar.gz
|
||||
Patch0: pamqp3.patch
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pamqp >= 2.0.0}
|
||||
BuildRequires: %{python_module pamqp >= 3.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pamqp >= 2.0.0
|
||||
Requires: python-pamqp >= 3.0
|
||||
Requires: python-requests
|
||||
BuildArch: noarch
|
||||
%if 0%{?suse_version} < 1500
|
||||
@@ -48,7 +49,8 @@ When using a SSL connection, TLSv1 or higher is required.
|
||||
|
||||
%prep
|
||||
%setup -q -n AMQPStorm-%{version}
|
||||
sed -i -e "s/'pamqp>=2.0.0,<3.0'/'pamqp>=2.0.0'/" setup.py
|
||||
%autopatch -p1
|
||||
sed -i -e "s/'pamqp>=2.0.0,<3.0'/'pamqp>=3.0'/" setup.py
|
||||
|
||||
%build
|
||||
export LANG="en_US.UTF8"
|
||||
|
||||
Reference in New Issue
Block a user