From 052278c7793c618f527014ae4934843ee34b26e6904539e821558936fc1a1b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 28 May 2021 11:30:41 +0000 Subject: [PATCH] Accepting request 895945 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895945 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz?expand=0&rev=96 --- python-pytz.changes | 5 +++++ python-pytz.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pytz.changes b/python-pytz.changes index 5ccfd7f..7c82528 100644 --- a/python-pytz.changes +++ b/python-pytz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 09:56:44 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue Feb 23 21:22:23 UTC 2021 - Ben Greiner diff --git a/python-pytz.spec b/python-pytz.spec index efc2115..fbf4e2a 100644 --- a/python-pytz.spec +++ b/python-pytz.spec @@ -80,7 +80,7 @@ ln -s %{_datadir}/zoneinfo %{buildroot}%{$python_sitelib}/pytz/zoneinfo } %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt