Accepting request 580584 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/580584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Babel?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2018-03-01 11:01:43 +00:00 committed by Git OBS Bridge
commit f91248f144
3 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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