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:
parent
95cf8d3e98
commit
5eb6e9611d
@ -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 <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
|
||||
- Avoid using bindir macro in BuildRequires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user