forked from pool/python-unittest-xml-reporting
- 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
This commit is contained in:
committed by
Git OBS Bridge
parent
33e2d52b2c
commit
2175a7e1a2
@@ -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
|
||||
|
Reference in New Issue
Block a user