diff --git a/python-Babel-doc.spec b/python-Babel-doc.spec index 38f92d1..ec02bb6 100644 --- a/python-Babel-doc.spec +++ b/python-Babel-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-Babel-doc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python-Babel.changes b/python-Babel.changes index e719420..f6f02a8 100644 --- a/python-Babel.changes +++ b/python-Babel.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 27 12:28:43 UTC 2018 - aplanas@suse.com + +- Export TZ and LC_ALL before running the tests. Without this + python-Babel is not able to see the TZ variable, and produce + a `local` LOCALTZ + ------------------------------------------------------------------- Thu Oct 5 16:04:48 UTC 2017 - arun@gmx.de diff --git a/python-Babel.spec b/python-Babel.spec index 64ae2b1..f978bec 100644 --- a/python-Babel.spec +++ b/python-Babel.spec @@ -1,7 +1,7 @@ # # spec file for package python-Babel # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -66,7 +66,9 @@ A collection of tools for internationalizing Python applications. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -TZ=UTC LC_ALL=C %python_exec %{_bindir}/py.test tests +export TZ=UTC +export LC_ALL=C +%python_exec %{_bindir}/py.test tests %pre # Since /usr/bin/pybabel became ghosted to be used with update-alternatives, we have to get rid