Drop explicit locale setting

Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-18 19:16:35 +01:00
parent 14834c01af
commit c7401be193

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.6 Version: 4.6
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
URL: https://github.com/pexpect/pexpect URL: https://github.com/pexpect/pexpect
@ -115,7 +115,6 @@ popd
%if %{with check} %if %{with check}
%check %check
export PYTHONIOENCODING=UTF-8 export PYTHONIOENCODING=UTF-8
export LC_ALL=C.utf8
pushd python2 pushd python2
%{__python2} ./tools/display-sighandlers.py %{__python2} ./tools/display-sighandlers.py
@ -145,6 +144,10 @@ popd
%{python3_sitelib}/%{modname}-*.egg-info %{python3_sitelib}/%{modname}-*.egg-info
%changelog %changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.6-2
- Drop explicit locale setting
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Wed Jul 25 2018 Dan Radez <dradez@redhat.com> - 4.6-1 * Wed Jul 25 2018 Dan Radez <dradez@redhat.com> - 4.6-1
- update to 4.6 - update to 4.6