Drop explicit locale setting

Python3 now sets unicode locale automatically, this workaround
should not be necessary anymore. For python2, let's use the lighter locale.
epel9
Zbigniew Jędrzejewski-Szmek 6 years ago
parent 76a871fff8
commit c0d6d58b3a

@ -2,7 +2,7 @@
Name: python-%{srcname}
Version: 1.5.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Elastic Python Deployment
# package is now under the MIT license, (although the docs still say
# otherwise, see https://bitbucket.org/hpk42/execnet/issue/33), and
@ -118,14 +118,14 @@ popd
%check
pushd python2
PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" \
PYTHONPATH=$(pwd) LC_ALL=C.UTF-8 \
py.test-%{python2_version} -r s \
-k 'not test_stdouterrin_setnull' \
testing
popd
pushd python3
PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" \
PYTHONPATH=$(pwd) \
py.test-%{python3_version} -r s \
-k 'not test_stdouterrin_setnull' \
testing
@ -150,6 +150,10 @@ popd
%changelog
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.0-5
- Drop explicit locale setting for python3, use C.UTF-8 for python2
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save