diff --git a/python-azure-mgmt-servermanager.changes b/python-azure-mgmt-servermanager.changes index 5a87bf2..1779ff9 100644 --- a/python-azure-mgmt-servermanager.changes +++ b/python-azure-mgmt-servermanager.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Apr 15 09:12:55 UTC 2019 - John Paul Adrian Glaubitz + +- 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 + ------------------------------------------------------------------- Wed Sep 5 12:26:55 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-azure-mgmt-servermanager.spec b/python-azure-mgmt-servermanager.spec index 7330537..0508c6c 100644 --- a/python-azure-mgmt-servermanager.spec +++ b/python-azure-mgmt-servermanager.spec @@ -1,7 +1,7 @@ # # spec file for package python-azure-mgmt-servermanager # -# 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 @@ -27,16 +27,16 @@ Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-servermanager/azure-mgmt-servermanager-%{version}.zip Source1: LICENSE.txt Patch1: ams_drop-compatible-releases-operator.patch -BuildRequires: %{python_module azure-mgmt-nspkg} -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +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-msrestazure < 2.0.0 Requires: python-msrestazure >= 0.4.27 Conflicts: python-azure-sdk <= 2.0.0 @@ -63,6 +63,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-servermanager-%{version} %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__