Hello community,
here is the log from the commit of package python-azure-mgmt-eventgrid for openSUSE:Factory checked in at 2019-05-14 13:30:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-mgmt-eventgrid (Old)
and /work/SRC/openSUSE:Factory/.python-azure-mgmt-eventgrid.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-mgmt-eventgrid"
Tue May 14 13:30:15 2019 rev:5 rq:694412 version:2.0.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-mgmt-eventgrid/python-azure-mgmt-eventgrid.changes 2018-09-26 16:14:11.307210772 +0200
+++ /work/SRC/openSUSE:Factory/.python-azure-mgmt-eventgrid.new.5148/python-azure-mgmt-eventgrid.changes 2019-05-14 13:30:17.143330893 +0200
@@ -1,0 +2,23 @@
+Fri Apr 12 11:27:38 UTC 2019 - John Paul Adrian Glaubitz
+
+- New upstream release
+ + Version 2.0.0
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Add patch to drop extras_require field from setup.py,
+ required for SLES12 as the setuptools version is too old
+ + ame_drop-extras-require.patch
+- Bump minimum version for namespace packages
+ to 3.0.0 in BuildRequires and Requires
+- Remove python-devel package from BuildRequires
+- Override upstream with 2.0.0.0 to ensure proper
+ upgrade from previous version 2.0.0rc1
+- Refresh patches for new version
+ + ame_drop-compatible-releases-operator.patch
+- Run fdupes to hardlink duplicate files
+ + Add fdupes to BuildRequires
+ + Add %fdupes invocation to %install
+- Update %description from setup.py
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
azure-mgmt-eventgrid-2.0.0rc1.zip
New:
----
ame_drop-extras-require.patch
azure-mgmt-eventgrid-2.0.0.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-mgmt-eventgrid.spec ++++++
--- /var/tmp/diff_new_pack.k1XL3X/_old 2019-05-14 13:30:18.019332967 +0200
+++ /var/tmp/diff_new_pack.k1XL3X/_new 2019-05-14 13:30:18.023332977 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-azure-mgmt-eventgrid
#
-# 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,33 +12,35 @@
# 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-mgmt-eventgrid
-Version: 2.0.0rc1
+Version: 2.0.0.0
Release: 0
Summary: Microsoft Azure EventGrid Management Client Library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/Azure/azure-sdk-for-python
-Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-eventgrid/azure-mgmt-eventgrid-%{version}.zip
+Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-eventgrid/azure-...
Source1: LICENSE.txt
Patch1: ame_drop-compatible-releases-operator.patch
-BuildRequires: %{python_module azure-mgmt-nspkg}
-BuildRequires: %{python_module azure-nspkg}
-BuildRequires: %{python_module devel}
+Patch2: ame_drop-extras-require.patch
+BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}
+BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-azure-common < 2.0.0
Requires: python-azure-common >= 1.1
-Requires: python-azure-mgmt-nspkg
-Requires: python-azure-nspkg
+Requires: python-azure-mgmt-nspkg >= 3.0.0
+Requires: python-azure-nspkg >= 3.0.0
+Requires: python-msrest >= 0.5.0
Requires: python-msrestazure < 2.0.0
-Requires: python-msrestazure >= 0.4.27
+Requires: python-msrestazure >= 0.4.32
Conflicts: python-azure-sdk <= 2.0.0
BuildArch: noarch
@@ -51,18 +53,20 @@
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).
-This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
+This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
%prep
-%setup -q -n azure-mgmt-eventgrid-%{version}
+%setup -q -n azure-mgmt-eventgrid-2.0.0
%patch1 -p1
+%patch2 -p1
%build
-install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-eventgrid-%{version}
+install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-eventgrid-2.0.0
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%{python_expand # delete common files
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
++++++ ame_drop-compatible-releases-operator.patch ++++++
--- /var/tmp/diff_new_pack.k1XL3X/_old 2019-05-14 13:30:18.111333185 +0200
+++ /var/tmp/diff_new_pack.k1XL3X/_new 2019-05-14 13:30:18.111333185 +0200
@@ -1,12 +1,12 @@
-diff -Nru azure-mgmt-eventgrid-2.0.0rc1.orig/setup.py azure-mgmt-eventgrid-2.0.0rc1/setup.py
---- azure-mgmt-eventgrid-2.0.0rc1.orig/setup.py 2018-05-04 19:08:14.000000000 +0200
-+++ azure-mgmt-eventgrid-2.0.0rc1/setup.py 2018-09-04 12:03:12.294459279 +0200
-@@ -78,7 +78,7 @@
- packages=find_packages(exclude=["tests"]),
+diff -Nru azure-mgmt-eventgrid-2.0.0.orig/setup.py azure-mgmt-eventgrid-2.0.0/setup.py
+--- azure-mgmt-eventgrid-2.0.0.orig/setup.py 2019-01-02 19:40:24.000000000 +0100
++++ azure-mgmt-eventgrid-2.0.0/setup.py 2019-03-26 14:46:28.099563915 +0100
+@@ -79,7 +79,7 @@
install_requires=[
- 'msrestazure>=0.4.27,<2.0.0',
+ 'msrest>=0.5.0',
+ 'msrestazure>=0.4.32,<2.0.0',
- 'azure-common~=1.1',
+ 'azure-common>=1.1',
],
- cmdclass=cmdclass
- )
+ extras_require={
+ ":python_version<'3.0'": ['azure-mgmt-nspkg'],
++++++ ame_drop-extras-require.patch ++++++
diff -Nru azure-mgmt-eventgrid-2.0.0.orig/setup.py azure-mgmt-eventgrid-2.0.0/setup.py
--- azure-mgmt-eventgrid-2.0.0.orig/setup.py 2019-04-12 13:26:05.191887244 +0200
+++ azure-mgmt-eventgrid-2.0.0/setup.py 2019-04-12 13:26:20.428030729 +0200
@@ -81,7 +81,4 @@
'msrestazure>=0.4.32,<2.0.0',
'azure-common>=1.1',
],
- extras_require={
- ":python_version<'3.0'": ['azure-mgmt-nspkg'],
- }
)