forked from pool/python-azure-mgmt-servermanager
Accepting request 694328 from home:glaubitz:branches:devel:languages:python:azure3
- Update Python Azure SDK to latest version OBS-URL: https://build.opensuse.org/request/show/694328 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-servermanager?expand=0&rev=6
This commit is contained in:
parent
80f64923e4
commit
c18bb8ba40
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 15 09:12:55 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- 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 <adrian.glaubitz@suse.com>
|
Wed Sep 5 12:26:55 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-azure-mgmt-servermanager
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-servermanager/azure-mgmt-servermanager-%{version}.zip
|
||||||
Source1: LICENSE.txt
|
Source1: LICENSE.txt
|
||||||
Patch1: ams_drop-compatible-releases-operator.patch
|
Patch1: ams_drop-compatible-releases-operator.patch
|
||||||
BuildRequires: %{python_module azure-mgmt-nspkg}
|
BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}
|
||||||
BuildRequires: %{python_module azure-nspkg}
|
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-azure-common < 2.0.0
|
Requires: python-azure-common < 2.0.0
|
||||||
Requires: python-azure-common >= 1.1
|
Requires: python-azure-common >= 1.1
|
||||||
Requires: python-azure-mgmt-nspkg
|
Requires: python-azure-mgmt-nspkg >= 3.0.0
|
||||||
Requires: python-azure-nspkg
|
Requires: python-azure-nspkg >= 3.0.0
|
||||||
Requires: python-msrestazure < 2.0.0
|
Requires: python-msrestazure < 2.0.0
|
||||||
Requires: python-msrestazure >= 0.4.27
|
Requires: python-msrestazure >= 0.4.27
|
||||||
Conflicts: python-azure-sdk <= 2.0.0
|
Conflicts: python-azure-sdk <= 2.0.0
|
||||||
@ -63,6 +63,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-servermanager-%{version}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%{python_expand # delete common files
|
%{python_expand # delete common files
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
|
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
|
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
|
||||||
|
Loading…
Reference in New Issue
Block a user