14
0

Accepting request 917072 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/917072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-relatorio?expand=0&rev=29
This commit is contained in:
2021-09-07 19:32:17 +00:00
committed by Git OBS Bridge
parent 035b5da124
commit eed45f7ed5
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 6 10:45:42 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 27 09:37:08 UTC 2021 - Axel Braun <axel.braun@gmx.de> Tue Jul 27 09:37:08 UTC 2021 - Axel Braun <axel.braun@gmx.de>

View File

@@ -57,7 +57,10 @@ as documents (odt, ods, pdf) or images (png, svg).
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_exec setup.py test # https://relatorio.tryton.org/bug65
sed -i 's:iteritems:items:' relatorio/tests/test_api.py
mv relatorio relatorio_hide
%pyunittest discover -v
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE