diff --git a/python-relatorio.changes b/python-relatorio.changes index 713db61..385205c 100644 --- a/python-relatorio.changes +++ b/python-relatorio.changes @@ -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 diff --git a/python-relatorio.spec b/python-relatorio.spec index 2bb200f..172126b 100644 --- a/python-relatorio.spec +++ b/python-relatorio.spec @@ -57,7 +57,10 @@ as documents (odt, ods, pdf) or images (png, svg). %python_expand %fdupes %{buildroot}%{$python_sitelib} %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} %license LICENSE