Accepting request 580582 from home:aplanas:branches:devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/580582 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=37
This commit is contained in:
parent
5f761522bb
commit
838383be73
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user