From 5eb6e9611d9f13f4d2d5c5ad7d27213ef716694e Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Tue, 19 Jan 2021 10:30:19 -0500 Subject: [PATCH] Adding workaround for bash bracketed paste adding workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1914843 while we wait for upstream fix: https://github.com/pexpect/pexpect/issues/669 --- python-pexpect.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/python-pexpect.spec b/python-pexpect.spec index f0dbe7e..8fb0cbd 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -5,7 +5,7 @@ Name: python-%{modname} Summary: Unicode-aware Pure Python Expect-like module Version: 4.8.0 -Release: 5%{?dist} +Release: 6%{?dist} License: ISC URL: https://github.com/pexpect/pexpect @@ -71,6 +71,13 @@ rm -rf %{buildroot}%{python3_sitelib}/pexpect/tests %if %{with check} %check export PYTHONIOENCODING=UTF-8 +# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1914843 +# upstream: https://github.com/pexpect/pexpect/issues/669 +# There's a patch upstream that we can presumable remove this after +# it merges and is released. +# Thx for the suggestion Miro: https://www.spinics.net/lists/fedora-devel/msg283026.html +echo "set enable-bracketed-paste off" > .inputrc +export INPUTRC=$PWD/.inputrc %{__python3} ./tools/display-sighandlers.py %{__python3} ./tools/display-terminalinfo.py @@ -84,6 +91,10 @@ TRAVIS=true py.test-3 --verbose %{python3_sitelib}/%{modname}-*.egg-info %changelog +* Tue Jan 19 2021 Dan Radez - 4.8.0-6 +- adding workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1914843 +- while we wait for upstream fix: https://github.com/pexpect/pexpect/issues/669 + * Wed Sep 16 2020 Kalev Lember - 4.8.0-5 - Avoid using bindir macro in BuildRequires