diff --git a/python-azure-servicemanagement-legacy.changes b/python-azure-servicemanagement-legacy.changes index 9e4684d..a94eba7 100644 --- a/python-azure-servicemanagement-legacy.changes +++ b/python-azure-servicemanagement-legacy.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Apr 15 09:33:01 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 + ------------------------------------------------------------------- Thu Sep 6 12:17:22 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-azure-servicemanagement-legacy.spec b/python-azure-servicemanagement-legacy.spec index 819a4db..2946aa9 100644 --- a/python-azure-servicemanagement-legacy.spec +++ b/python-azure-servicemanagement-legacy.spec @@ -1,7 +1,7 @@ # # spec file for package python-azure-servicemanagement-legacy # -# 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,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/ # @@ -26,13 +26,13 @@ Group: Development/Languages/Python Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-servicemanagement-legacy/azure-servicemanagement-legacy-%{version}.zip Source1: LICENSE.txt -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +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 Conflicts: python-azure-sdk <= 2.0.0 @@ -54,6 +54,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-servicemanagement-legacy-%{version} %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__