From 2175a7e1a2853beee801b4b8248c38b7c7033b39ddb40f8d03120ac1a2fd9420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 5 Mar 2019 09:52:44 +0000 Subject: [PATCH] - Update to 2.2.1: * no changelog available - Enable tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=17 --- 2.2.1.tar.gz | 3 +++ python-unittest-xml-reporting.changes | 7 +++++++ python-unittest-xml-reporting.spec | 21 ++++++++++++--------- unittest-xml-reporting-2.1.0.tar.gz | 3 --- 4 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 2.2.1.tar.gz delete mode 100644 unittest-xml-reporting-2.1.0.tar.gz diff --git a/2.2.1.tar.gz b/2.2.1.tar.gz new file mode 100644 index 0000000..6ae55d1 --- /dev/null +++ b/2.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39f2d69537ab232420a3e9f6d4761add6a0aa1f3124f3005e4705f866e2c743f +size 30583 diff --git a/python-unittest-xml-reporting.changes b/python-unittest-xml-reporting.changes index ce57681..fd713ad 100644 --- a/python-unittest-xml-reporting.changes +++ b/python-unittest-xml-reporting.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 5 09:52:29 UTC 2019 - Tomáš Chvátal + +- Update to 2.2.1: + * no changelog available +- Enable tests + ------------------------------------------------------------------- Tue Dec 4 12:55:38 UTC 2018 - Matej Cepl diff --git a/python-unittest-xml-reporting.spec b/python-unittest-xml-reporting.spec index 2fdc5e5..e0e79f3 100644 --- a/python-unittest-xml-reporting.spec +++ b/python-unittest-xml-reporting.spec @@ -1,7 +1,7 @@ # # spec file for package python-unittest-xml-reporting # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-unittest-xml-reporting -Version: 2.1.0 +Version: 2.2.1 Release: 0 Summary: PyUnit-based test runner with JUnit like XML reporting License: LGPL-3.0-or-later Group: Development/Languages/Python -Url: http://github.com/danielfm/unittest-xml-reporting/tree/master/ -Source: https://files.pythonhosted.org/packages/source/u/unittest-xml-reporting/unittest-xml-reporting-%{version}.tar.gz +URL: http://github.com/danielfm/unittest-xml-reporting/tree/master/ +Source: https://github.com/xmlrunner/unittest-xml-reporting/archive/%{version}.tar.gz +BuildRequires: %{python_module lxml} +BuildRequires: %{python_module mock} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4.0} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.4.0 +Provides: python-xmlrunner = %{version} BuildArch: noarch %python_subpackages @@ -46,14 +49,14 @@ systems, IDEs and continuous integration servers. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_expand $python -m unittest discover %files %{python_files} -%defattr(-,root,root,-) +%doc README.md +%license LICENSE %{python_sitelib}/* %changelog diff --git a/unittest-xml-reporting-2.1.0.tar.gz b/unittest-xml-reporting-2.1.0.tar.gz deleted file mode 100644 index d09688c..0000000 --- a/unittest-xml-reporting-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a6d3474bb86331152a798cf6d6d28c3ccee2a09c31ccbe30dbb061bf38ce60b -size 10450