Accepting request 740976 from devel:languages:python
- fix execution of tests on anything older than Tumbleweed OBS-URL: https://build.opensuse.org/request/show/740976 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-convertdate?expand=0&rev=3
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user