From b01c825ea3044c28a92c92a66b90a47569e882e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 21:49:27 +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-enchant.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-enchant.spec b/python-enchant.spec index 831882c..858c739 100644 --- a/python-enchant.spec +++ b/python-enchant.spec @@ -12,7 +12,7 @@ Name: python-enchant Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for Enchant spellchecking library License: LGPLv2+ @@ -100,13 +100,13 @@ rm -rf $RPM_BUILD_ROOT/%{python2_sitelib}/%{srcname}/share %if %{with python2} pushd $RPM_BUILD_ROOT/%{python2_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-2.* +LANG=C.UTF-8 nosetests-2 popd %endif # with python2 pushd $RPM_BUILD_ROOT/%{python3_sitelib} # There is no dictionary for language C, need to use en_US -LANG=en_US.UTF-8 /usr/bin/nosetests-3.* +nosetests-3 popd %if %{with python2} @@ -142,6 +142,10 @@ popd %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 2.0.0-6 +- 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 - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild