1
0

- 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
This commit is contained in:
Dirk Mueller 2019-10-18 06:56:30 +00:00 committed by Git OBS Bridge
parent 06b4e90341
commit f2ee574fc6
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Oct 18 06:56:11 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- fix execution of tests on anything older than Tumbleweed
-------------------------------------------------------------------
Fri Sep 13 13:31:50 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

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