Hello community,

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

Package is "python-WSGIProxy2"

Wed May 17 17:18:32 2017 rev:8 rq:493361 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-WSGIProxy2/python-WSGIProxy2.changes      
2015-05-18 22:35:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-WSGIProxy2.new/python-WSGIProxy2.changes 
2017-05-17 17:19:09.418282444 +0200
@@ -1,0 +2,15 @@
+Sun May  7 22:41:52 UTC 2017 - [email protected]
+
+- Source URL must be https.
+
+-------------------------------------------------------------------
+Mon May  1 16:48:32 UTC 2017 - [email protected]
+
+- Update to version 0.4.3
+  * Add OPTIONS to defaults allowed methods
+  * Drop restkit support
+  * Drop py26 support
+- Implement single-spec version
+- Fix source URL.
+
+-------------------------------------------------------------------

Old:
----
  WSGIProxy2-0.4.2.zip

New:
----
  WSGIProxy2-0.4.3.tar.gz

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

Other differences:
------------------
++++++ python-WSGIProxy2.spec ++++++
--- /var/tmp/diff_new_pack.6GIDur/_old  2017-05-17 17:19:10.802087295 +0200
+++ /var/tmp/diff_new_pack.6GIDur/_new  2017-05-17 17:19:10.806086731 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-WSGIProxy2
 #
-# 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,26 +16,31 @@
 #
 
 
+# Tests have dependency loop with python-WebTest
+%bcond_with tests
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-WSGIProxy2
-Version:        0.4.2
+Version:        0.4.3
 Release:        0
 Summary:        WSGI Proxy Implementation
 License:        MIT
 Group:          Development/Languages/Python
 Url:            https://github.com/gawel/WSGIProxy2/
-Source:         
http://pypi.python.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.zip
-BuildRequires:  python-WebOb
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
-BuildRequires:  unzip
+Source:         
https://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module WebOb}
+BuildRequires:  %{python_module six}
+%if %{with tests}
+BuildRequires:  %{python_module WebTest}
+%endif
 Conflicts:      python-WSGIProxy
 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
 Proxy support for WebOb or classic WSGI applications
@@ -44,17 +49,20 @@
 %setup -q -n WSGIProxy2-%{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 tests}
 %check
-python setup.py test
+%python_exec setup.py test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README.rst
+%doc CHANGES.rst COPYING README.rst
 %{python_sitelib}/*
 
 %changelog


Reply via email to