14
0

Accepting request 307124 from home:benoit_monin:branches:devel:languages:python

- update to version 1.12.0
- remove python-xml from requirement
- add new dependency python-six
- add new dependency python-unittest2 for SLE11
- remove sed call on testsuite.py: not needed anymore
- remove LICENSE and README.markdown: not provided anymore

OBS-URL: https://build.opensuse.org/request/show/307124
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unittest-xml-reporting?expand=0&rev=11
This commit is contained in:
Jan Matejek
2015-05-18 13:35:33 +00:00
committed by Git OBS Bridge
parent 292d61ab45
commit db2e1eb797
4 changed files with 23 additions and 8 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu May 14 12:06:39 UTC 2015 - benoit.monin@gmx.fr
- update to version 1.12.0:
* no changelog available
- remove python-xml from requirement
- add new dependency python-six
- add new dependency python-unittest2 for SLE11
- remove sed call on testsuite.py: not needed anymore
- remove LICENSE and README.markdown: not provided anymore
-------------------------------------------------------------------
Fri Nov 15 22:09:36 UTC 2013 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-unittest-xml-reporting
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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,7 +17,7 @@
Name: python-unittest-xml-reporting
Version: 1.7.0
Version: 1.12.0
Release: 0
Url: http://github.com/danielfm/unittest-xml-reporting/tree/master/
Summary: PyUnit-based test runner with JUnit like XML reporting
@@ -27,8 +27,11 @@ Source: http://pypi.python.org/packages/source/u/unittest-xml-reporting/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-xml
BuildRequires: python-six >= 1.4.0
Requires: python-six >= 1.4.0
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-unittest2
Requires: python-unittest2
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
@@ -41,7 +44,6 @@ systems, IDEs and continuous integration servers.
%prep
%setup -q -n unittest-xml-reporting-%{version}
sed -i "1d" src/xmlrunner/tests/testsuite.py
%build
python setup.py build
@@ -49,9 +51,11 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py -q test
%files
%defattr(-,root,root,-)
%doc LICENSE README.markdown
%{python_sitelib}/*
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b882a07b25392ad7c88c479944f01bbd09ca27b5ec831c71518abce6904b6fee
size 12904

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc7555e15ed4a715a75ec9efc35ae51bf9d03ecf3b52c6bf8a6349e2b22b5072
size 10018