commit python-suds-jurko for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package python-suds-jurko for 
openSUSE:Factory checked in at 2020-06-03 20:33:19

Comparing /work/SRC/openSUSE:Factory/python-suds-jurko (Old)
 and  /work/SRC/openSUSE:Factory/.python-suds-jurko.new.3606 (New)


Package is "python-suds-jurko"

Wed Jun  3 20:33:19 2020 rev:6 rq:810973 version:0.6

Changes:

--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes  
2017-08-24 18:31:40.384574768 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-suds-jurko.new.3606/python-suds-jurko.changes
2020-06-03 20:33:50.069419357 +0200
@@ -1,0 +2,6 @@
+Wed May 27 22:43:47 UTC 2020 - Jason Craig 
+
+- Change %{py_ver} to %{python_version} to fix build.
+- Mark license with %license instead of %doc.
+
+---



Other differences:
--
++ python-suds-jurko.spec ++
--- /var/tmp/diff_new_pack.mxceqq/_old  2020-06-03 20:33:51.421423595 +0200
+++ /var/tmp/diff_new_pack.mxceqq/_new  2020-06-03 20:33:51.421423595 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-suds-jurko
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,9 +21,9 @@
 Version:0.6
 Release:0
 Summary:Lightweight SOAP client (Jurko's fork)
-License:LGPL-3.0+
+License:LGPL-3.0-or-later
 Group:  Development/Languages/Python
-Url:http://bitbucket.org/jurko/suds
+URL:http://bitbucket.org/jurko/suds
 Source: 
https://pypi.io/packages/source/s/suds-jurko/suds-jurko-%{version}.tar.bz2
 # CVE-2013-2217.
 # Fixed upstream in https://bitbucket.org/jurko/suds/issues/15/
@@ -67,8 +67,9 @@
 
 %files %{python_files}
 %defattr(-,root,root,-)
-%doc LICENSE.txt README.rst
+%doc README.rst
+%license LICENSE.txt
 %{python_sitelib}/suds
-%{python_sitelib}/suds_jurko-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/suds_jurko-%{version}-py%{python_version}.egg-info
 
 %changelog




commit python-suds-jurko for openSUSE:Factory

2017-08-24 Thread root
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.0 +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 - alarr...@suse.com
+
+- 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




commit python-suds-jurko for openSUSE:Factory

2016-10-13 Thread h_root
Hello community,

here is the log from the commit of package python-suds-jurko for 
openSUSE:Factory checked in at 2016-10-13 11:29:33

Comparing /work/SRC/openSUSE:Factory/python-suds-jurko (Old)
 and  /work/SRC/openSUSE:Factory/.python-suds-jurko.new (New)


Package is "python-suds-jurko"

Changes:

--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes  
2015-11-10 10:03:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-suds-jurko.new/python-suds-jurko.changes 
2016-10-13 11:29:33.0 +0200
@@ -1,0 +2,11 @@
+Tue Oct  4 14:13:21 UTC 2016 - r...@rotkraut.de
+
+- Add suds-insecure-cache-tempdir.patch: CVE-2013-2217 (bsc#827568)
+
+---
+Thu Sep  8 07:38:26 UTC 2016 - tbecht...@suse.com
+
+- Add missing openstack-macros BuildRequires
+- Use pypi.io as Source url
+
+---

New:

  suds-insecure-cache-tempdir.patch



Other differences:
--
++ python-suds-jurko.spec ++
--- /var/tmp/diff_new_pack.cRJMGV/_old  2016-10-13 11:29:34.0 +0200
+++ /var/tmp/diff_new_pack.cRJMGV/_new  2016-10-13 11:29:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-suds-jurko
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -23,7 +23,11 @@
 License:LGPL-3.0+
 Group:  Development/Languages/Python
 Url:http://bitbucket.org/jurko/suds
-Source: 
https://pypi.python.org/packages/source/s/suds-jurko/suds-jurko-%{version}.tar.bz2
+Source: 
https://pypi.io/packages/source/s/suds-jurko/suds-jurko-%{version}.tar.bz2
+# 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
@@ -48,6 +52,7 @@
 
 %prep
 %setup -q -n suds-jurko-%{version}
+%patch0
 
 %build
 %{__python2} setup.py build

++ suds-insecure-cache-tempdir.patch ++
--- suds/cache.py.orig  2014-01-21 20:06:03.0 +0100
+++ suds/cache.py   2014-02-11 13:22:39.047914048 +0100
@@ -26,7 +26,7 @@
 from datetime import datetime as dt
 from datetime import timedelta
 import os
-from tempfile import gettempdir as tmp
+import tempfile
 try:
 import cPickle as pickle
 except Exception:
@@ -93,6 +93,9 @@
 A file-based URL cache.
 @cvar fnprefix: The file name prefix.
 @type fnsuffix: str
+@cvar remove_default_location_on_exit: Whether to remove the default cache
+location on process exit (default=True).
+@type remove_default_location_on_exit: bool
 @ivar duration: The cached file duration which defines how
 long the file will be cached.
 @type duration: (unit, value)
@@ -100,10 +103,21 @@
 @type location: str
 """
 fnprefix = 'suds'
+__default_location = None
+remove_default_location_on_exit = True
 units = ('months', 'weeks', 'days', 'hours', 'minutes', 'seconds')
 
 def __init__(self, location=None, **duration):
 """
+Initialized a new FileCache instance.
+
+If no cache location is specified, a temporary default location will be
+used. Such default cache location will be shared by all FileCache
+instances with no explicitly specified location within the same
+process. The default cache location will be removed automatically on
+process exit unless user sets the remove_default_location_on_exit
+FileCache class attribute to False.
+
 @param location: The directory for the cached files.
 @type location: str
 @param duration: The cached file duration which defines how
@@ -112,7 +126,7 @@
 @type duration: {unit:value}
 """
 if location is None:
-location = os.path.join(tmp(), 'suds')
+location = self.__get_default_location()
 self.location = location
 self.duration = (None, 0)
 self.setduration(**duration)
@@ -250,6 +264,34 @@
 fn = '%s-%s.%s' % (self.fnprefix, name, suffix)
 return os.path.join(self.location, fn)
 
+@staticmethod
+def __get_default_location():
+"""
+Returns the current process's default cache location folder.
+
+The folder is determined lazily on first call.
+
+"""
+if not FileCache.__default_location:
+tmp = 

commit python-suds-jurko for openSUSE:Factory

2015-11-10 Thread h_root
Hello community,

here is the log from the commit of package python-suds-jurko for 
openSUSE:Factory checked in at 2015-11-10 10:03:49

Comparing /work/SRC/openSUSE:Factory/python-suds-jurko (Old)
 and  /work/SRC/openSUSE:Factory/.python-suds-jurko.new (New)


Package is "python-suds-jurko"

Changes:

--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes  
2015-10-30 13:42:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-suds-jurko.new/python-suds-jurko.changes 
2015-11-10 10:03:59.0 +0100
@@ -1,0 +2,5 @@
+Wed Oct 14 13:13:31 UTC 2015 - tbecht...@suse.com
+
+- Don't install tests/ dir into site-packages.
+
+---



Other differences:
--
++ python-suds-jurko.spec ++
--- /var/tmp/diff_new_pack.fb7QA0/_old  2015-11-10 10:04:00.0 +0100
+++ /var/tmp/diff_new_pack.fb7QA0/_new  2015-11-10 10:04:00.0 +0100
@@ -54,6 +54,8 @@
 
 %install
 %{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# remove tests/ dir from global site-packages
+rm -rf %{buildroot}/%{python2_sitelib}/tests
 
 %check
 #python setup.py test




commit python-suds-jurko for openSUSE:Factory

2015-10-30 Thread h_root
Hello community,

here is the log from the commit of package python-suds-jurko for 
openSUSE:Factory checked in at 2015-10-30 13:42:22

Comparing /work/SRC/openSUSE:Factory/python-suds-jurko (Old)
 and  /work/SRC/openSUSE:Factory/.python-suds-jurko.new (New)


Package is "python-suds-jurko"

Changes:

--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes  
2015-08-05 06:50:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-suds-jurko.new/python-suds-jurko.changes 
2015-10-30 13:42:23.0 +0100
@@ -1,0 +2,5 @@
+Wed Jul 29 11:05:38 UTC 2015 - tbecht...@suse.com
+
+- Unify spec file. Use fedora compatible files macros
+
+---



Other differences:
--
++ python-suds-jurko.spec ++
--- /var/tmp/diff_new_pack.oCLeD0/_old  2015-10-30 13:42:24.0 +0100
+++ /var/tmp/diff_new_pack.oCLeD0/_new  2015-10-30 13:42:24.0 +0100
@@ -24,6 +24,7 @@
 Group:  Development/Languages/Python
 Url:http://bitbucket.org/jurko/suds
 Source: 
https://pypi.python.org/packages/source/s/suds-jurko/suds-jurko-%{version}.tar.bz2
+BuildRequires:  openstack-suse-macros
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-xml
@@ -49,10 +50,10 @@
 %setup -q -n suds-jurko-%{version}
 
 %build
-python setup.py build
+%{__python2} setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
 #python setup.py test
@@ -60,6 +61,6 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE.txt README.rst
-%{python_sitelib}/*
+%{python2_sitelib}/*
 
 %changelog