From 7866518e9c6849d8136b9b71266a16e7f922d89e169c9c1813a4de178f618ef9 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 9 Sep 2021 11:39:06 +0000 Subject: [PATCH] Accepting request 917017 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/917017 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boolean.py?expand=0&rev=7 --- python-boolean.py.changes | 5 +++++ python-boolean.py.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-boolean.py.changes b/python-boolean.py.changes index e26b795..343fd24 100644 --- a/python-boolean.py.changes +++ b/python-boolean.py.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 6 08:50:56 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Thu Jan 23 17:34:52 UTC 2020 - Marketa Calabkova diff --git a/python-boolean.py.spec b/python-boolean.py.spec index 2acf165..bf4bc96 100644 --- a/python-boolean.py.spec +++ b/python-boolean.py.spec @@ -1,7 +1,7 @@ # # spec file for package python-boolean.py # -# 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 @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/bastikr/boolean.py Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,7 +52,7 @@ sphinx-build docs html rm -rf html/.{doctrees,buildinfo} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt