Hello community, here is the log from the commit of package python-azure-servicebus for openSUSE:Factory checked in at 2019-05-14 13:38:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-servicebus (Old) and /work/SRC/openSUSE:Factory/.python-azure-servicebus.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-servicebus" Tue May 14 13:38:32 2019 rev:4 rq:694550 version:0.50.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-servicebus/python-azure-servicebus.changes 2018-09-26 16:16:04.663023006 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-servicebus.new.5148/python-azure-servicebus.changes 2019-05-14 13:38:33.848436074 +0200 @@ -1,0 +2,21 @@ +Mon Apr 15 09:31:17 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 0.50.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Add patch to drop compatible releases operator from setup.py, + required for SLES12 as the setuptools version is too old + + as_drop-compatible-releases-operator.patch +- Add patch to drop extras_require field from setup.py, + required for SLES12 as the setuptools version is too old + + as_drop-extras-require.patch +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-servicebus-0.21.1.zip New: ---- as_drop-compatible-releases-operator.patch as_drop-extras-require.patch azure-servicebus-0.50.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-servicebus.spec ++++++ --- /var/tmp/diff_new_pack.iFvgZl/_old 2019-05-14 13:38:34.492437520 +0200 +++ /var/tmp/diff_new_pack.iFvgZl/_new 2019-05-14 13:38:34.500437539 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-azure-servicebus # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,13 +12,13 @@ # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-servicebus -Version: 0.21.1 +Version: 0.50.0 Release: 0 Summary: Microsoft Azure Service Bus Runtime Client Library License: Apache-2.0 @@ -26,14 +26,17 @@ Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-servicebus/azure-servicebus-%{version}.zip Source1: LICENSE.txt -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +Patch1: as_drop-compatible-releases-operator.patch +Patch2: as_drop-extras-require.patch +BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip Requires: python-azure-common >= 1.1.5 -Requires: python-azure-nspkg +Requires: python-azure-nspkg >= 3.0.0 Requires: python-requests +Requires: python-uamqp >= 1.1.0 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -47,6 +50,8 @@ %prep %setup -q -n azure-servicebus-%{version} +%patch1 -p1 +%patch2 -p1 %build install -m 644 %{SOURCE1} %{_builddir}/azure-servicebus-%{version} @@ -54,6 +59,7 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %{python_expand # delete common files rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.* rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ ++++++ as_drop-compatible-releases-operator.patch ++++++ diff -Nru azure-servicebus-0.50.0.orig/setup.py azure-servicebus-0.50.0/setup.py --- azure-servicebus-0.50.0.orig/setup.py 2019-01-18 00:37:32.000000000 +0100 +++ azure-servicebus-0.50.0/setup.py 2019-04-01 15:23:45.189117613 +0200 @@ -77,9 +77,9 @@ 'azure', ]), install_requires=[ - 'uamqp~=1.1.0', + 'uamqp>=1.1.0', 'msrestazure>=0.4.32,<2.0.0', - 'azure-common~=1.1', + 'azure-common>=1.1', ], extras_require={ ":python_version<'3.0'": ['azure-nspkg', 'futures'], ++++++ as_drop-extras-require.patch ++++++ diff -Nru azure-servicebus-0.50.0.orig/setup.py azure-servicebus-0.50.0/setup.py --- azure-servicebus-0.50.0.orig/setup.py 2019-04-01 15:24:05.457303575 +0200 +++ azure-servicebus-0.50.0/setup.py 2019-04-01 15:24:16.009400394 +0200 @@ -81,7 +81,4 @@ 'msrestazure>=0.4.32,<2.0.0', 'azure-common>=1.1', ], - extras_require={ - ":python_version<'3.0'": ['azure-nspkg', 'futures'], - } )