From b59fb08470baef041ee1ef1dcf324ad83419c18c332179452e459d1d54ecff68 Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Sat, 25 Sep 2021 10:43:59 +0000 Subject: [PATCH] Accepting request 921305 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/921305 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.deprecation?expand=0&rev=18 --- python-zope.deprecation.changes | 5 +++++ python-zope.deprecation.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-zope.deprecation.changes b/python-zope.deprecation.changes index 2f536fa..11ade5b 100644 --- a/python-zope.deprecation.changes +++ b/python-zope.deprecation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 24 11:51:36 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Wed Apr 8 12:07:16 UTC 2020 - Tomáš Chvátal diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec index 56b4fcd..73d4f14 100644 --- a/python-zope.deprecation.spec +++ b/python-zope.deprecation.spec @@ -1,7 +1,7 @@ # # spec file for package python-zope.deprecation # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2013 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -61,7 +61,8 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py -q test +pushd build/lib +%pyunittest -v zope.deprecation.tests %files %{python_files} %license LICENSE.txt