diff --git a/python-python-bidi.changes b/python-python-bidi.changes index 4a7503c..91cbc73 100644 --- a/python-python-bidi.changes +++ b/python-python-bidi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 09:31:03 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Wed May 20 07:26:49 UTC 2020 - Petr Gajdos diff --git a/python-python-bidi.spec b/python-python-bidi.spec index 2b659d1..3e44a9d 100644 --- a/python-python-bidi.spec +++ b/python-python-bidi.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-bidi # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +30,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module six} @@ -53,7 +53,7 @@ sed -i -e '/^#!\//, 1d' bidi/__init__.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %post %python_install_alternative pybidi