From 1a390bd219383ab85d0a0400a8d88c7f676c139f001a8997abf7de7b7f2cff11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2020 13:23:17 +0000 Subject: [PATCH] Accepting request 812881 from home:mcalabkova:branches:devel:languages:python - replace nose OBS-URL: https://build.opensuse.org/request/show/812881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-junitxml?expand=0&rev=4 --- python-junitxml.changes | 5 +++++ python-junitxml.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-junitxml.changes b/python-junitxml.changes index c128cc0..2e83e39 100644 --- a/python-junitxml.changes +++ b/python-junitxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 9 11:09:30 UTC 2020 - Marketa Calabkova + +- replace nose + ------------------------------------------------------------------- Wed Oct 31 11:45:53 UTC 2018 - Tomáš Chvátal diff --git a/python-junitxml.spec b/python-junitxml.spec index e886ecd..7c1fbcf 100644 --- a/python-junitxml.spec +++ b/python-junitxml.spec @@ -1,7 +1,7 @@ # # spec file for package python-junitxml # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,8 @@ License: LGPL-3.0-or-later Group: Development/Languages/Python URL: https://launchpad.net/pyjunitxml Source: https://files.pythonhosted.org/packages/source/j/junitxml/junitxml-%{version}.tar.gz +# tests are failing Patch0: junitxml-tests.patch -BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildArch: noarch @@ -55,8 +55,7 @@ A Python unittest TestResult that outputs JUnit compatible XML. %python_uninstall_alternative pyjunitxml %check -# tests are failing -%python_expand nosetests-%{$python_version} +%python_exec -m unittest discover %files %{python_files} %license COPYING