From 0fd5f8de67cf07dfa5989502f2b3794e0c7d54c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 22:04:35 +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-py.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-py.spec b/python-py.spec index 58d464a..e1f91e7 100644 --- a/python-py.spec +++ b/python-py.spec @@ -19,7 +19,7 @@ Name: python-%{srcname} Version: 1.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT and Public Domain # main package: MIT, except: doc/style.css: Public Domain @@ -162,7 +162,7 @@ popd %if %{with python2} pushd python2 PYTHONPATH=%{buildroot}%{python2_sitelib} \ -LC_ALL="en_US.UTF-8" \ +LC_ALL=C.UTF-8 \ py.test-%{python2_version} -r s -k"-TestWCSvnCommandPath" testing popd %endif # with python2 @@ -170,7 +170,6 @@ popd %if %{with python3} pushd python3 PYTHONPATH=%{buildroot}%{python3_sitelib} \ -LC_ALL="en_US.UTF-8" \ py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing popd %endif # with python3 @@ -205,6 +204,10 @@ popd %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 1.7.0-2 +- Drop explicit locale setting for python3, use C.UTF-8 for python2 + See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot + * Sun Nov 11 2018 Thomas Moschny - 1.7.0-1 - Update to 1.7.0.