Drop explicit locale setting

Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore.
epel9
Zbigniew Jędrzejewski-Szmek 6 years ago
parent 704cf5318e
commit 68b39ee28b

@ -2,7 +2,7 @@
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 7.0 Version: 7.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Simple wrapper around optparse for powerful command line utilities Summary: Simple wrapper around optparse for powerful command line utilities
License: BSD License: BSD
@ -62,7 +62,6 @@ Python 3 version.
%check %check
export PYTHONPATH=$(pwd) export PYTHONPATH=$(pwd)
export LC_ALL=en_US.UTF-8
%if ! (0%{?rhel} && 0%{?rhel} <= 7) %if ! (0%{?rhel} && 0%{?rhel} <= 7)
# pytest in base RHEL is too old, we'll skip the tests there # pytest in base RHEL is too old, we'll skip the tests there
py.test-%{python2_version} tests --tb=long --verbose py.test-%{python2_version} tests --tb=long --verbose
@ -82,6 +81,10 @@ py.test-%{python3_version} tests --tb=long --verbose
%{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}/
%changelog %changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 7.0-2
- Drop explicit locale setting
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Tue Oct 02 2018 Charalampos Stratakis <cstratak@redhat.com> - 7.0-1 * Tue Oct 02 2018 Charalampos Stratakis <cstratak@redhat.com> - 7.0-1
- Update to 7.0 - Update to 7.0

Loading…
Cancel
Save