From 44b757bc099867bbcbd65d041a855a296b847684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 10 Dec 2018 14:56:26 +0100 Subject: [PATCH] BR glibc-all-langpacks to fix a FTBFS and avoid skipped tests See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot The tests failed with: Some tests will be disabled: Test locale not supported (tried en_US.UTF-8, en_US.US-ASCII, en_US) ... ====================================================================== ERROR: test_lookup_issue1813 (test.test_codecs.CodecsModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale return _setlocale(category, locale) Error: unsupported locale setting ---------------------------------------------------------------------- ... ====================================================================== ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale return _setlocale(category, locale) Error: unsupported locale setting ====================================================================== ERROR: test_setlocale_unicode (test.test_locale.TestMiscellaneous) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-2.7.15/Lib/locale.py", line 581, in setlocale return _setlocale(category, locale) Error: unsupported locale setting ---------------------------------------------------------------------- --- python2.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python2.spec b/python2.spec index f11d4b7..03ca506 100644 --- a/python2.spec +++ b/python2.spec @@ -144,6 +144,7 @@ BuildRequires: bluez-libs-devel %endif BuildRequires: bzip2 BuildRequires: bzip2-devel +BuildRequires: glibc-all-langpacks BuildRequires: glibc-devel BuildRequires: gmp-devel BuildRequires: libdb-devel