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

@@ -0,0 +1,23 @@
From e95001e480ec30f1617c47e77fb92e0384ff9e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adam=20C=C3=A9cile?= <acecile@le-vert.net>
Date: Tue, 30 Apr 2019 17:15:49 +0200
Subject: [PATCH] Asciify README.rst (setup.py fails to open it if console is
not UTF-8)
---
README.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.rst b/README.rst
index c6667a26..e6b93e2a 100644
--- a/README.rst
+++ b/README.rst
@@ -112,7 +112,7 @@ a timely fashion.
Messages processed in another thread may not be acknowledged directly from that
thread, since all accesses to the connection adapter instance must be from a
-single thread—the thread that is running the adapter's I/O loop. However, this
+single thread--the thread that is running the adapter's I/O loop. However, this
may be accomplished by requesting a callback to be executed in the adapter's
I/O loop thread. For example, the callback function's implementation might look
like this:

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 18 12:18:02 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 18 12:56:39 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com> Thu Apr 18 12:56:39 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>

View File

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