From f2ee574fc6d633a505cce396d81fdb0d94b644aaef83fa3755ff916a4c0d5af3 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 18 Oct 2019 06:56:30 +0000 Subject: [PATCH] - fix execution of tests on anything older than Tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-convertdate?expand=0&rev=6 --- python-convertdate.changes | 5 +++++ python-convertdate.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-convertdate.changes b/python-convertdate.changes index 77e9f24..44b6631 100644 --- a/python-convertdate.changes +++ b/python-convertdate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 18 06:56:11 UTC 2019 - Dirk Mueller + +- fix execution of tests on anything older than Tumbleweed + ------------------------------------------------------------------- Fri Sep 13 13:31:50 UTC 2019 - Jan Engelhardt diff --git a/python-convertdate.spec b/python-convertdate.spec index 8eb3d9a..a127a5a 100644 --- a/python-convertdate.spec +++ b/python-convertdate.spec @@ -46,15 +46,16 @@ Hebrew, Indian Civil, Islamic, ISO, Julian, Mayan and Persian. %setup -q -n convertdate-%{version} %build -export LANG="en_US.UTF8" +export LC_ALL="en_US.UTF8" %python_build %install -export LANG="en_US.UTF8" +export LC_ALL="en_US.UTF8" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +export LC_ALL="en_US.UTF8" %python_exec setup.py test %files %{python_files}