Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/python-pexpect.git#5eb6e9611d9f13f4d2d5c5ad7d27213ef716694e
This commit is contained in:
DistroBaker 2021-01-19 17:42:49 +00:00
parent c0cc8399d5
commit d6f356441a

View File

@ -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