From 2da9318d6e4f492def99317044b914ec33fbf05e271015964191490dc3c6c53f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 09:49:49 +0000 Subject: [PATCH] Accepting request 895712 from home:pgajdos:python setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895712 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyasn1?expand=0&rev=83 --- python-pyasn1.changes | 5 +++++ python-pyasn1.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 6409595..65cbcbc 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 08:20:03 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sun Nov 17 09:09:11 UTC 2019 - Michael Ströder diff --git a/python-pyasn1.spec b/python-pyasn1.spec index d7de34a..5b985fe 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyasn1 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -54,7 +54,7 @@ specification. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc CHANGES.rst README.md TODO.rst