From de4211c65da64c9daa2ec5a20744b5b05eb38eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 18 Nov 2018 22:08:30 +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-sphinx.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 9cda3bb..7e82d7e 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -27,7 +27,7 @@ Name: python-sphinx Version: 1.7.6 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Summary: Python documentation generator @@ -553,13 +553,13 @@ rm tests/test_build_linkcheck.py # Igoring test_api_translator for now as it fails on Fedora. # The issue has been reported upstream: https://github.com/sphinx-doc/sphinx/issues/4710 -LANG=en_US.UTF-8 %{__python2} -m pytest -v --ignore=tests/test_api_translator.py +LANG=C.UTF-8 %{__python2} -m pytest -v --ignore=tests/test_api_translator.py %if 0%{?with_python3} pushd %{py3dir} # Currently, all linkcheck tests hit external websites. Since network access # is disabled in koji, we have to disable these. rm tests/test_build_linkcheck.py -LANG=en_US.UTF-8 PYTHON=python3 make test +PYTHON=python3 make test popd %endif # with_python3 %endif # with tests @@ -618,6 +618,10 @@ popd %changelog +* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek - 1:1.7.6-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 + * Mon Jul 23 2018 Marcel Plch - 1:1.7.6-1 - Update to 1.7.6