From 7dc1e816f1c81f379ca575d3816988b5c6797f1a2965ffd704ed7aab1573e81f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 19 Oct 2021 17:18:25 +0000 Subject: [PATCH] - Use %pyunittest macro instead of the homebrewn solution. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mpd2?expand=0&rev=6 --- python-python-mpd2.changes | 5 +++++ python-python-mpd2.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-python-mpd2.changes b/python-python-mpd2.changes index 5894e65..c78ba67 100644 --- a/python-python-mpd2.changes +++ b/python-python-mpd2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 19 17:17:54 UTC 2021 - Matej Cepl + +- Use %pyunittest macro instead of the homebrewn solution. + ------------------------------------------------------------------- Tue Oct 19 16:32:13 UTC 2021 - Mia Herkt diff --git a/python-python-mpd2.spec b/python-python-mpd2.spec index 2e407f4..27f5407 100644 --- a/python-python-mpd2.spec +++ b/python-python-mpd2.spec @@ -54,7 +54,7 @@ backward compatibles with the original python-mpd package. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHON_SITEPATH=%{buildroot}%{$python_sitelib} $python -m unittest mpd.tests +%pyunittest -v mpd.tests %files %{python_files} %license LICENSE.txt