forked from pool/python-unittest-xml-reporting
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:
committed by
Git OBS Bridge
parent
292d61ab45
commit
db2e1eb797
@@ -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
|
Fri Nov 15 22:09:36 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-unittest-xml-reporting
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-unittest-xml-reporting
|
Name: python-unittest-xml-reporting
|
||||||
Version: 1.7.0
|
Version: 1.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://github.com/danielfm/unittest-xml-reporting/tree/master/
|
Url: http://github.com/danielfm/unittest-xml-reporting/tree/master/
|
||||||
Summary: PyUnit-based test runner with JUnit like XML reporting
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
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
|
%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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -41,7 +44,6 @@ systems, IDEs and continuous integration servers.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n unittest-xml-reporting-%{version}
|
%setup -q -n unittest-xml-reporting-%{version}
|
||||||
sed -i "1d" src/xmlrunner/tests/testsuite.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
@@ -49,9 +51,11 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
python setup.py -q test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.markdown
|
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
unittest-xml-reporting-1.12.0.tar.gz
Normal file
3
unittest-xml-reporting-1.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b882a07b25392ad7c88c479944f01bbd09ca27b5ec831c71518abce6904b6fee
|
||||||
|
size 12904
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cc7555e15ed4a715a75ec9efc35ae51bf9d03ecf3b52c6bf8a6349e2b22b5072
|
|
||||||
size 10018
|
|
Reference in New Issue
Block a user