+++ /dev/null
-Don't include openssl EPIPE complaints in input.
-
---- pexpect-4.6.0/tests/test_expect.py.orig 2018-04-11 21:03:57.000000000 +0200
-+++ pexpect-4.6.0/tests/test_expect.py 2018-08-01 16:18:13.739732629 +0200
-@@ -411,7 +411,7 @@
- def test_before_across_chunks(self):
- # https://github.com/pexpect/pexpect/issues/478
- child = pexpect.spawn(
-- '''/bin/bash -c "openssl rand -base64 {} | head -500 | nl --number-format=rz --number-width=5 2>&1 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
-+ '''/bin/bash -c "openssl rand -base64 {} 2>/dev/null| head -500 | nl --number-format=rz --number-width=5 ; echo 'PATTERN!!!'"'''.format(1024 * 1024 * 2),
- searchwindowsize=128
- )
- child.expect(['PATTERN'])
Summary: Pure Python Expect-like module
Summary(pl.UTF-8): Moduł podobny do narzędzia Expect napisany w czystym Pythonie
Name: python-%{module}
-Version: 4.6.0
-Release: 2
+Version: 4.7.0
+Release: 1
License: ISC
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/pexpect/
Source0: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
-# Source0-md5: d4f3372965a996238d57d19b95d2e03a
-Patch0: %{name}-tests.patch
+# Source0-md5: ed003242cbf308aee1b1eaecdef59e43
URL: http://pexpect.readthedocs.io/
%if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
BuildRequires: glibc-localedb-all
%prep
%setup -q -n %{module}-%{version}
-%patch0 -p1
%build
%if %{with python2}