Accepting request 694958 from home:glaubitz:branches:Cloud:Tools

- Update Azure CLI to latest version

OBS-URL: https://build.opensuse.org/request/show/694958
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli?expand=0&rev=15
This commit is contained in:
Robert Schweikert 2019-04-18 00:50:33 +00:00 committed by Git OBS Bridge
parent 6ed9fbc572
commit 3a910c84a5
4 changed files with 97 additions and 61 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f44ee9b4983fc527d0460eee0071542c70b9c0549a21afa9660e4974d48076a1
size 7398

3
azure-cli-2.0.58.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e81d081d3080dca6f2cba0259bd7a34ed22af26a37b88b473c8be88902f198fd
size 7788

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Tue Apr 16 12:39:59 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 2.0.58
+ For detailed information about changes see the
HISTORY.rst file provided with this package
- Add additional azure-cli component packages to Requires
+ azure-cli-botservice
+ azure-cli-hdinsight
+ azure-cli-iotcentral
+ azure-cli-kusto
+ azure-cli-maps
+ azure-cli-policyinsights
+ azure-cli-relay
+ azure-cli-security
+ azure-cli-signalr
+ azure-cli-sqlvm
- Bump minimum version for Python Azure SDK namespace
packages to 3.0.0 in BuildRequires and Requires
- Move /etc/bash_completion.d/az.completion.sh to
%{_datadir}/bash-completion/completions/
- Remove python3-devel package from BuildRequires
- Remove unzip package from BuildRequires
- Run fdupes to hardlink duplicate files
+ Add fdupes to BuildRequires
+ Add %fdupes invocation to %install
- Update Requires from setup.py
-------------------------------------------------------------------
Wed Nov 21 16:15:57 UTC 2018 - okurz@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package azure-cli
#
# 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/
#
@ -32,7 +32,7 @@ Name: azure-cli
Name: azure-cli%{?name_ext}
%endif
%define short_name azure-cli
Version: 2.0.45
Version: 2.0.58
Release: 0
Summary: Microsoft Azure CLI 2.0
License: MIT
@ -44,60 +44,66 @@ Patch1: ac_use-python3-by-default.patch
%if 0%{?_test}
BuildRequires: %{short_name} = %{version}
%else
BuildRequires: azure-cli-nspkg
BuildRequires: python3-azure-nspkg
BuildRequires: python3-devel
BuildRequires: fdupes
BuildRequires: python3-azure-nspkg >= 3.0.0
BuildRequires: python3-setuptools
BuildRequires: unzip
Requires: azure-cli-acr
Requires: azure-cli-acs
Requires: azure-cli-advisor
Requires: azure-cli-ams
Requires: azure-cli-appservice
Requires: azure-cli-backup
Requires: azure-cli-batch
Requires: azure-cli-batchai
Requires: azure-cli-billing
Requires: azure-cli-cdn
Requires: azure-cli-cloud
Requires: azure-cli-cognitiveservices
Requires: azure-cli-command-modules-nspkg
Requires: azure-cli-component
Requires: azure-cli-configure
Requires: azure-cli-consumption
Requires: azure-cli-container
Requires: azure-cli-core
Requires: azure-cli-cosmosdb
Requires: azure-cli-dla
Requires: azure-cli-dls
Requires: azure-cli-dms
Requires: azure-cli-eventgrid
Requires: azure-cli-eventhubs
Requires: azure-cli-extension
Requires: azure-cli-feedback
Requires: azure-cli-find
Requires: azure-cli-interactive
Requires: azure-cli-iot
Requires: azure-cli-keyvault
Requires: azure-cli-lab
Requires: azure-cli-monitor
Requires: azure-cli-network
Requires: azure-cli-nspkg
Requires: azure-cli-profile
Requires: azure-cli-rdbms
Requires: azure-cli-redis
Requires: azure-cli-reservations
Requires: azure-cli-resource
Requires: azure-cli-role
Requires: azure-cli-search
Requires: azure-cli-servicebus
Requires: azure-cli-servicefabric
Requires: azure-cli-sql
Requires: azure-cli-storage
Requires: azure-cli-taskhelp
Requires: azure-cli-telemetry
Requires: azure-cli-vm
Requires: python3-azure-nspkg
Requires: azure-cli-acr >= 2.2.0
Requires: azure-cli-acs >= 2.3.17
Requires: azure-cli-advisor >= 2.0.0
Requires: azure-cli-ams >= 0.4.1
Requires: azure-cli-appservice >= 0.2.13
Requires: azure-cli-backup >= 1.2.1
Requires: azure-cli-batch >= 3.4.1
Requires: azure-cli-batchai >= 0.4.7
Requires: azure-cli-billing >= 0.2.0
Requires: azure-cli-botservice >= 0.1.6
Requires: azure-cli-cdn >= 0.2.0
Requires: azure-cli-cloud >= 2.1.0
Requires: azure-cli-cognitiveservices >= 0.2.4
Requires: azure-cli-command-modules-nspkg >= 2.0.2
Requires: azure-cli-configure >= 2.0.20
Requires: azure-cli-consumption >= 0.4.2
Requires: azure-cli-container >= 0.3.13
Requires: azure-cli-core >= 2.0.58
Requires: azure-cli-cosmosdb >= 0.2.7
Requires: azure-cli-dla >= 0.2.4
Requires: azure-cli-dls >= 0.1.8
Requires: azure-cli-dms >= 0.1.2
Requires: azure-cli-eventgrid >= 0.2.1
Requires: azure-cli-eventhubs >= 0.3.3
Requires: azure-cli-extension >= 0.2.3
Requires: azure-cli-feedback >= 2.1.4
Requires: azure-cli-find >= 0.2.13
Requires: azure-cli-hdinsight >= 0.3.0
Requires: azure-cli-interactive >= 0.4.1
Requires: azure-cli-iot >= 0.3.6
Requires: azure-cli-iotcentral >= 0.1.6
Requires: azure-cli-keyvault >= 2.2.11
Requires: azure-cli-kusto >= 0.1.0
Requires: azure-cli-lab >= 0.1.5
Requires: azure-cli-maps >= 0.3.3
Requires: azure-cli-monitor >= 0.2.10
Requires: azure-cli-network >= 2.3.2
Requires: azure-cli-nspkg >= 3.0.3
Requires: azure-cli-policyinsights >= 0.1.1
Requires: azure-cli-profile >= 2.1.3
Requires: azure-cli-rdbms >= 0.3.7
Requires: azure-cli-redis >= 0.4.0
Requires: azure-cli-relay >= 0.1.3
Requires: azure-cli-reservations >= 0.4.1
Requires: azure-cli-resource >= 2.1.10
Requires: azure-cli-role >= 2.4.0
Requires: azure-cli-search >= 0.1.1
Requires: azure-cli-security >= 0.1.0
Requires: azure-cli-servicebus >= 0.3.3
Requires: azure-cli-servicefabric >= 0.1.12
Requires: azure-cli-signalr >= 1.0.0
Requires: azure-cli-sql >= 2.1.9
Requires: azure-cli-sqlvm >= 0.1.0
Requires: azure-cli-storage >= 2.3.1
Requires: azure-cli-telemetry >= 1.0.1
Requires: azure-cli-vm >= 2.2.15
Requires: python3-azure-nspkg >= 3.0.0
Conflicts: azure-cli < 2.0.0
BuildArch: noarch
@ -130,7 +136,8 @@ python3 setup.py build
%define debug_package %{nil}
%else
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}/etc/bash_completion.d/az.completion.sh
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/bash-completion/completions/az.completion.sh
%python_expand %fdupes %{buildroot}%{$python_sitelib}
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.*
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__pycache__
rm -rf %{buildroot}%{python3_sitelib}/azure/__init__.*
@ -143,7 +150,7 @@ rm -rf %{buildroot}%{python3_sitelib}/azure/__pycache__
%doc HISTORY.rst README.rst
%license LICENSE.txt
%{_bindir}/az
%config /etc/bash_completion.d/az.completion.sh
%{_datadir}/bash-completion/completions/az.completion.sh
%exclude /usr/bin/az.bat
%exclude /usr/bin/az.completion.sh
%{python3_sitelib}/azure/cli