Hello community,

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

Package is "python-suds-jurko"

Thu Aug 24 18:31:11 2017 rev:5 rq:506207 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes      
2016-10-13 11:29:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-suds-jurko.new/python-suds-jurko.changes 
2017-08-24 18:31:40.384574768 +0200
@@ -1,0 +2,8 @@
+Thu Jun 22 15:42:58 UTC 2017 - [email protected]
+
+- singlespec version of python-suds-jurko
+- Remove openstack-macros and openstack-suse-macros from BuildRequires.
+  The package builds fine without them.
+- Use fdupes on installed files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-suds-jurko.spec ++++++
--- /var/tmp/diff_new_pack.GJcAWx/_old  2017-08-24 18:31:41.816373049 +0200
+++ /var/tmp/diff_new_pack.GJcAWx/_new  2017-08-24 18:31:41.820372486 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-suds-jurko
 #
-# 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,6 +16,7 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-suds-jurko
 Version:        0.6
 Release:        0
@@ -27,22 +28,20 @@
 # CVE-2013-2217.
 # Fixed upstream in https://bitbucket.org/jurko/suds/issues/15/
 Patch0:         suds-insecure-cache-tempdir.patch
-BuildRequires:  openstack-macros
-BuildRequires:  openstack-suse-macros
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-xml
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module xml}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 #its a lie, but lets make this pass..
 Provides:       python-suds = %{version}
 Obsoletes:      python-suds < %{version}
 # Test requirements
-BuildRequires:  python-pytest
+BuildRequires:  %{python_module pytest}
 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
 This is hopefully just a temporary fork of the original suds Python
@@ -55,19 +54,21 @@
 %patch0
 
 %build
-%{__python2} setup.py build
+%python_build
 
 %install
-%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 # remove tests/ dir from global site-packages
-rm -rf %{buildroot}/%{python2_sitelib}/tests
+%python_expand rm -rf %{buildroot}/%{$python_sitelib}/tests
+%python_expand %fdupes %{buildroot}/%{$python_sitelib}/suds*
 
 %check
 #python setup.py test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE.txt README.rst
-%{python2_sitelib}/*
+%{python_sitelib}/suds
+%{python_sitelib}/suds_jurko-%{version}-py%{py_ver}.egg-info
 
 %changelog


Reply via email to