Hello community,

here is the log from the commit of package python-sure for openSUSE:Factory 
checked in at 2017-05-24 16:50:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sure (Old)
 and      /work/SRC/openSUSE:Factory/.python-sure.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sure"

Wed May 24 16:50:21 2017 rev:3 rq:497352 version:1.4.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes  2016-03-16 
10:35:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-sure.new/python-sure.changes     
2017-05-24 16:51:03.832670916 +0200
@@ -1,0 +2,9 @@
+Mon May 22 16:52:16 UTC 2017 - [email protected]
+
+- Implement single-spec version.
+- Fix source URL.
+- Update to version 1.4.6
+  * Enormous number of changes. Please see full changelog here:
+    https://github.com/gabrielfalcao/sure/blob/v1.4.6/CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  sure-1.2.24.tar.gz

New:
----
  sure-1.4.6.tar.gz

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

Other differences:
------------------
++++++ python-sure.spec ++++++
--- /var/tmp/diff_new_pack.a9MkmX/_old  2017-05-24 16:51:04.368595476 +0200
+++ /var/tmp/diff_new_pack.a9MkmX/_new  2017-05-24 16:51:04.372594913 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-sure
 #
-# Copyright (c) 2016 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,29 +16,31 @@
 #
 
 
+%bcond_without test
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-sure
-Version:        1.2.24
+Version:        1.4.6
 Release:        0
 Summary:        Utility belt for automated testing in python for python
 License:        GPL-3.0+
 Group:          Development/Languages/Python
 Url:            https://github.com/requests/sure
-Source:         
https://pypi.python.org/packages/source/s/sure/sure-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-mock
-BuildRequires:  python-nose
-BuildRequires:  python-rednose
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
-Requires:       python-mock
-Requires:       python-six
-%py_requires
+Source:         
https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module mock >= 2.0.0}
+BuildRequires:  %{python_module six >= 1.10.0}
+%if %{with test}
+BuildRequires:  %{python_module nose}
+%endif
+Requires:       python-mock >= 2.0.0
+Requires:       python-six >= 1.10.0
 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()")}
-%else
 BuildArch:      noarch
-%endif
+%python_subpackages
 
 %description
 A testing library for python with powerful and flexible assertions. Sure is
@@ -49,17 +51,20 @@
 sed -i '/^#!/d' sure/*.py
 
 %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_expand nosetests-%{$python_bin_suffix}
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README.md
+%doc COPYING README.rst
 %{python_sitelib}/*
 
 %changelog

++++++ sure-1.2.24.tar.gz -> sure-1.4.6.tar.gz ++++++
++++ 3047 lines of diff (skipped)


Reply via email to