From c0d6d58b3aab26e8ce517a4972e7dd22b2b5b9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 19 Nov 2018 00:10:20 +0100 Subject: [PATCH] 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. --- python-execnet.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-execnet.spec b/python-execnet.spec index 0ddcb11..7186066 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -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 - 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 - 1.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild