14
0
forked from pool/python-pika

- Fix build for older distros which fail with

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4575: \
    ordinal not in range(128)
  Added e95001e480ec30f1617c47e77fb92e0384ff9e78.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pika?expand=0&rev=32
This commit is contained in:
Thomas Bechtold
2019-06-18 12:21:06 +00:00
committed by Git OBS Bridge
parent 1a7036cd11
commit d81f38e6ca
3 changed files with 34 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/pika/pika
Source: https://github.com/pika/pika/archive/%{version}.tar.gz
# PATCH-FIX-UPSTREAM e95001e480ec30f1617c47e77fb92e0384ff9e78.patch -- https://github.com/pika/pika/commit/e95001e480ec30f1617c47e77fb92e0384ff9e78
Patch0: e95001e480ec30f1617c47e77fb92e0384ff9e78.patch
BuildRequires: %{python_module Twisted}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
@@ -47,6 +49,7 @@ should also work with other AMQP 0-9-1 brokers.
%prep
%setup -q -n %{mod_name}-%{version}
%patch0 -p1
# acceptance needs running configured server
rm -rf tests/acceptance/
sed -i -e 's:,tests/acceptance::' setup.cfg