Hello community,

here is the log from the commit of package python-nosexcover for 
openSUSE:Factory checked in at 2017-08-22 11:08:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nosexcover (Old)
 and      /work/SRC/openSUSE:Factory/.python-nosexcover.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nosexcover"

Tue Aug 22 11:08:10 2017 rev:8 rq:517192 version:1.0.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nosexcover/python-nosexcover.changes      
2015-05-15 07:44:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-nosexcover.new/python-nosexcover.changes 
2017-08-22 11:08:13.316260688 +0200
@@ -1,0 +2,10 @@
+Wed Aug 16 10:02:35 UTC 2017 - [email protected]
+
+- conditionalize tests, fdupes 
+
+-------------------------------------------------------------------
+Tue Aug 15 17:52:08 UTC 2017 - [email protected]
+
+- Convert to singlespec 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nosexcover.spec ++++++
--- /var/tmp/diff_new_pack.r00wic/_old  2017-08-22 11:08:14.536088883 +0200
+++ /var/tmp/diff_new_pack.r00wic/_new  2017-08-22 11:08:14.540088320 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nosexcover
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,6 +16,9 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
+
 Name:           python-nosexcover
 Version:        1.0.10
 Release:        0
@@ -24,19 +27,20 @@
 Group:          Development/Languages/Python
 Url:            http://github.com/cmheisel/nose-xcover/
 Source:         
http://pypi.python.org/packages/source/n/nosexcover/nosexcover-%{version}.tar.gz
+BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with test}
 BuildRequires:  python-coverage
-BuildRequires:  python-devel
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
-Requires:       python-coverage
+%endif
 Requires:       python-nose
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%py_requires
-%else
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 A companion to the built-in nose.plugins.cover, this plugin will write out
@@ -46,15 +50,18 @@
 %setup -q -n nosexcover-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
-python setup.py test
+%python_exec setup.py test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %{python_sitelib}/*
 


Reply via email to