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
This commit is contained in:
Dan Radez 2021-01-19 10:30:19 -05:00
parent 95cf8d3e98
commit 5eb6e9611d

View File

@ -5,7 +5,7 @@
Name: python-%{modname} Name: python-%{modname}
Summary: Unicode-aware Pure Python Expect-like module Summary: Unicode-aware Pure Python Expect-like module
Version: 4.8.0 Version: 4.8.0
Release: 5%{?dist} Release: 6%{?dist}
License: ISC License: ISC
URL: https://github.com/pexpect/pexpect URL: https://github.com/pexpect/pexpect
@ -71,6 +71,13 @@ rm -rf %{buildroot}%{python3_sitelib}/pexpect/tests
%if %{with check} %if %{with check}
%check %check
export PYTHONIOENCODING=UTF-8 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-sighandlers.py
%{__python3} ./tools/display-terminalinfo.py %{__python3} ./tools/display-terminalinfo.py
@ -84,6 +91,10 @@ TRAVIS=true py.test-3 --verbose
%{python3_sitelib}/%{modname}-*.egg-info %{python3_sitelib}/%{modname}-*.egg-info
%changelog %changelog
* Tue Jan 19 2021 Dan Radez <dradez@redhat.com> - 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 <klember@redhat.com> - 4.8.0-5 * Wed Sep 16 2020 Kalev Lember <klember@redhat.com> - 4.8.0-5
- Avoid using bindir macro in BuildRequires - Avoid using bindir macro in BuildRequires