From 895d80732a1e3fff7c771abf6b0c469e5b8889a74bf4946b9b159d53ed43ec19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 28 May 2021 11:32:28 +0000 Subject: [PATCH] Accepting request 895951 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895951 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywinrm?expand=0&rev=12 --- python-pywinrm.changes | 5 +++++ python-pywinrm.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pywinrm.changes b/python-pywinrm.changes index 1769ae0..2fb762e 100644 --- a/python-pywinrm.changes +++ b/python-pywinrm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 10:07:22 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Fri Feb 28 23:02:50 UTC 2020 - Dirk Mueller diff --git a/python-pywinrm.spec b/python-pywinrm.spec index cdd4148..1102154 100644 --- a/python-pywinrm.spec +++ b/python-pywinrm.spec @@ -1,7 +1,7 @@ # # spec file for package python-pywinrm # -# 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 @@ -65,7 +65,7 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE