Hello community,
here is the log from the commit of package python-unittest-xml-reporting for
openSUSE:Factory checked in at 2019-03-05 12:26:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-unittest-xml-reporting (Old)
and /work/SRC/openSUSE:Factory/.python-unittest-xml-reporting.new.28833
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-unittest-xml-reporting"
Tue Mar 5 12:26:38 2019 rev:15 rq:681659 version:2.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-unittest-xml-reporting/python-unittest-xml-reporting.changes
2018-12-24 11:45:39.145225551 +0100
+++
/work/SRC/openSUSE:Factory/.python-unittest-xml-reporting.new.28833/python-unittest-xml-reporting.changes
2019-03-05 12:26:38.888833304 +0100
@@ -1,0 +2,7 @@
+Tue Mar 5 09:52:29 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.2.1:
+ * no changelog available
+- Enable tests
+
+-------------------------------------------------------------------
Old:
----
unittest-xml-reporting-2.1.0.tar.gz
New:
----
2.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-unittest-xml-reporting.spec ++++++
--- /var/tmp/diff_new_pack.NbelJV/_old 2019-03-05 12:26:39.496833414 +0100
+++ /var/tmp/diff_new_pack.NbelJV/_new 2019-03-05 12:26:39.496833414 +0100
@@ -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 @@
%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
++++++ unittest-xml-reporting-2.1.0.tar.gz -> 2.2.1.tar.gz ++++++
++++ 3182 lines of diff (skipped)