Hello community, here is the log from the commit of package python-azure-mgmt-iotcentral for openSUSE:Factory checked in at 2019-05-14 13:33:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-mgmt-iotcentral (Old) and /work/SRC/openSUSE:Factory/.python-azure-mgmt-iotcentral.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-mgmt-iotcentral" Tue May 14 13:33:52 2019 rev:2 rq:694421 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-mgmt-iotcentral/python-azure-mgmt-iotcentral.changes 2018-09-26 16:14:18.879198223 +0200 +++ /work/SRC/openSUSE:Factory/.python-azure-mgmt-iotcentral.new.5148/python-azure-mgmt-iotcentral.changes 2019-05-14 13:33:56.639841805 +0200 @@ -1,0 +2,22 @@ +Fri Apr 12 12:06:31 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 1.0.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Use correct name for ami_drop-extras-require.patch + + ami_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 + + ami_drop-extras-require.patch +- Refresh patches for new version + + ami_drop-compatible-releases-operator.patch +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-mgmt-iotcentral-0.2.0.zip New: ---- ami_drop-compatible-releases-operator.patch azure-mgmt-iotcentral-1.0.0.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-mgmt-iotcentral.spec ++++++ --- /var/tmp/diff_new_pack.2Sc3n5/_old 2019-05-14 13:33:57.247842900 +0200 +++ /var/tmp/diff_new_pack.2Sc3n5/_new 2019-05-14 13:33:57.251842907 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-azure-mgmt-iotcentral # -# 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,12 +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-mgmt-iotcentral -Version: 0.2.0 +Version: 1.0.0 Release: 0 Summary: Microsoft Azure IoTCentral Management Client Library License: MIT @@ -25,20 +26,19 @@ Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-iotcentral/azure-mgmt-iotcentral-%{version}.zip Source1: LICENSE.txt -Patch1: ami_drop-extras-require.patch -BuildRequires: %{python_module devel} +Patch1: ami_drop-compatible-releases-operator.patch +Patch2: ami_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 -BuildRequires: %{python_module azure-mgmt-nspkg} -BuildRequires: %{python_module azure-nspkg} -Requires: python-azure-mgmt-nspkg -Requires: python-azure-nspkg +Requires: python-azure-common < 2.0.0 +Requires: python-azure-common >= 1.1 Requires: python-msrest >= 0.5.0 -Requires: python-msrestazure >= 0.4.32 Requires: python-msrestazure < 2.0.0 -Requires: python-azure-common >= 1.1 -Requires: python-azure-common < 2.0.0 +Requires: python-msrestazure >= 0.4.32 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -56,6 +56,7 @@ %prep %setup -q -n azure-mgmt-iotcentral-%{version} %patch1 -p1 +%patch2 -p1 %build install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-iotcentral-%{version} @@ -63,6 +64,7 @@ %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__ @@ -76,4 +78,5 @@ %license LICENSE.txt %{python_sitelib}/azure/mgmt/iotcentral %{python_sitelib}/azure_mgmt_iotcentral-*.egg-info + %changelog ++++++ ami_drop-compatible-releases-operator.patch ++++++ diff -Nru azure-mgmt-iotcentral-1.0.0.orig/setup.py azure-mgmt-iotcentral-1.0.0/setup.py --- azure-mgmt-iotcentral-1.0.0.orig/setup.py 2018-10-26 23:54:44.000000000 +0200 +++ azure-mgmt-iotcentral-1.0.0/setup.py 2019-03-27 14:56:13.056369930 +0100 @@ -79,7 +79,7 @@ install_requires=[ 'msrest>=0.5.0', 'msrestazure>=0.4.32,<2.0.0', - 'azure-common~=1.1', + 'azure-common>=1.1', ], extras_require={ ":python_version<'3.0'": ['azure-mgmt-nspkg'], ++++++ ami_drop-extras-require.patch ++++++ --- /var/tmp/diff_new_pack.2Sc3n5/_old 2019-05-14 13:33:57.279842957 +0200 +++ /var/tmp/diff_new_pack.2Sc3n5/_new 2019-05-14 13:33:57.283842964 +0200 @@ -1,12 +1,11 @@ -diff -Nru azure-mgmt-iotcentral-0.2.0.orig/setup.py azure-mgmt-iotcentral-0.2.0/setup.py ---- azure-mgmt-iotcentral-0.2.0.orig/setup.py 2018-08-08 00:23:58.000000000 +0200 -+++ azure-mgmt-iotcentral-0.2.0/setup.py 2018-09-06 15:12:57.550935901 +0200 -@@ -80,7 +80,7 @@ - install_requires=[ - 'msrest>=0.5.0', +diff -Nru azure-mgmt-iotcentral-1.0.0.orig/setup.py azure-mgmt-iotcentral-1.0.0/setup.py +--- azure-mgmt-iotcentral-1.0.0.orig/setup.py 2019-03-27 15:00:45.963222909 +0100 ++++ azure-mgmt-iotcentral-1.0.0/setup.py 2019-03-27 15:01:02.151391451 +0100 +@@ -81,7 +81,4 @@ 'msrestazure>=0.4.32,<2.0.0', -- 'azure-common~=1.1', -+ 'azure-common>=1.1', + 'azure-common>=1.1', ], - cmdclass=cmdclass +- extras_require={ +- ":python_version<'3.0'": ['azure-mgmt-nspkg'], +- } )