Hello community,

here is the log from the commit of package python-nose-cover3 for 
openSUSE:Factory checked in at 2017-05-18 20:48:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nose-cover3 (Old)
 and      /work/SRC/openSUSE:Factory/.python-nose-cover3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nose-cover3"

Thu May 18 20:48:36 2017 rev:9 rq:495653 version:0.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nose-cover3/python-nose-cover3.changes    
2013-10-25 11:24:02.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-nose-cover3.new/python-nose-cover3.changes   
    2017-05-18 20:48:39.468401318 +0200
@@ -1,0 +2,6 @@
+Thu May 11 01:24:08 UTC 2017 - toddrme2...@gmail.com
+
+- Implement single-spec version.
+- Fix source URL.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-nose-cover3.spec ++++++
--- /var/tmp/diff_new_pack.Wa6jyA/_old  2017-05-18 20:48:39.968330765 +0200
+++ /var/tmp/diff_new_pack.Wa6jyA/_new  2017-05-18 20:48:39.972330201 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nose-cover3
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products 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,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-nose-cover3
 Version:        0.1.0
 Release:        0
@@ -23,17 +24,17 @@
 Summary:        Coverage 3.x support for Nose
 License:        LGPL-2.1+
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/n/nose-cover3/nose-cover3-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/n/nose-cover3/nose-cover3-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-2to3
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 Requires:       python-coverage
 Requires:       python-nose
-%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()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 Coverage 3.x support for Nose.
@@ -42,12 +43,13 @@
 %setup -q -n nose-cover3-%{version}
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README lgpl.txt
 %{python_sitelib}/*


Reply via email to