Compare commits
No commits in common. "factory" and "devel" have entirely different histories.
21
LICENSE.txt
Normal file
21
LICENSE.txt
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -1,41 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 14 09:39:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 2.68.0
|
||||
+ For detailed information about changes see the
|
||||
HISTORY.rst file provided with this package
|
||||
- Update Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 19:57:22 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 2.67.0
|
||||
+ For detailed information about changes see the
|
||||
HISTORY.rst file provided with this package
|
||||
- Update Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 09:24:17 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 2.66.0
|
||||
+ For detailed information about changes see the
|
||||
HISTORY.rst file provided with this package
|
||||
- Make testsuite failures fatal
|
||||
- Move test script from %build into %check section
|
||||
- Update Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 09:57:28 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 2.65.0
|
||||
+ For detailed information about changes see the
|
||||
HISTORY.rst file provided with this package
|
||||
- Update Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 4 08:06:00 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package azure-cli
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,17 +23,23 @@
|
||||
%endif
|
||||
%global _sitelibdir %{%{pythons}_sitelib}
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
# Define just "test" as a package in _multibuild file to distinguish test
|
||||
# instructions here
|
||||
%if "@BUILD_FLAVOR@" == ""
|
||||
%define _test 0
|
||||
%define name_ext %nil
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%define _test 1
|
||||
%define name_ext -test
|
||||
%endif
|
||||
|
||||
Name: azure-cli%{?psuffix}
|
||||
Version: 2.68.0
|
||||
%if !%{?_test}
|
||||
Name: azure-cli
|
||||
%else
|
||||
Name: azure-cli%{?name_ext}
|
||||
%endif
|
||||
%define short_name azure-cli
|
||||
Version: 2.64.0
|
||||
Release: 0
|
||||
Summary: Microsoft Azure CLI 2.0
|
||||
License: MIT
|
||||
@ -41,8 +47,8 @@ Group: System/Management
|
||||
URL: https://github.com/Azure/azure-cli
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-cli/azure_cli-%{version}.tar.gz
|
||||
Patch1: ac_use-python3-by-default.patch
|
||||
%if %{with test}
|
||||
BuildRequires: azure-cli = %{version}
|
||||
%if 0%{?_test}
|
||||
BuildRequires: %{short_name} = %{version}
|
||||
%else
|
||||
BuildRequires: %{pythons}-pip
|
||||
BuildRequires: %{pythons}-wheel
|
||||
@ -54,18 +60,19 @@ Requires: %{pythons}-PyGithub >= 1.38
|
||||
Requires: %{pythons}-PyNaCl >= 1.5.0
|
||||
Requires: %{pythons}-PyYAML >= 5.1
|
||||
Requires: %{pythons}-antlr4-python3-runtime >= 4.13.1
|
||||
Requires: %{pythons}-azure-appconfiguration >= 1.7.0
|
||||
Requires: %{pythons}-azure-appconfiguration >= 1.1.1
|
||||
Requires: %{pythons}-azure-batch >= 14.2.0
|
||||
Requires: %{pythons}-azure-cosmos >= 3.0.2
|
||||
Requires: %{pythons}-azure-data-tables >= 12.4.0
|
||||
Requires: %{pythons}-azure-datalake-store >= 0.0.53
|
||||
Requires: %{pythons}-azure-graphrbac >= 0.60.0
|
||||
Requires: %{pythons}-azure-keyvault-administration >= 4.4.0~b2
|
||||
Requires: %{pythons}-azure-keyvault-certificates >= 4.7.0
|
||||
Requires: %{pythons}-azure-keyvault-keys >= 4.9.0~b3
|
||||
Requires: %{pythons}-azure-keyvault-secrets >= 4.7.0
|
||||
Requires: %{pythons}-azure-mgmt-advisor >= 9.0.0
|
||||
Requires: %{pythons}-azure-mgmt-apimanagement >= 4.0.0
|
||||
Requires: %{pythons}-azure-mgmt-appconfiguration >= 3.1.0
|
||||
Requires: %{pythons}-azure-mgmt-appconfiguration >= 3.0.0
|
||||
Requires: %{pythons}-azure-mgmt-appcontainers >= 2.0.0
|
||||
Requires: %{pythons}-azure-mgmt-applicationinsights >= 1.0.0
|
||||
Requires: %{pythons}-azure-mgmt-authorization >= 4.0.0
|
||||
@ -76,12 +83,11 @@ Requires: %{pythons}-azure-mgmt-botservice >= 2.0.0b3
|
||||
Requires: %{pythons}-azure-mgmt-cdn >= 12.0.0
|
||||
Requires: %{pythons}-azure-mgmt-cognitiveservices >= 13.5.0
|
||||
Requires: %{pythons}-azure-mgmt-compute >= 33.0.0
|
||||
Requires: %{pythons}-azure-mgmt-containerinstance >= 10.2.0~b1
|
||||
Requires: %{pythons}-azure-mgmt-containerinstance >= 10.1.0
|
||||
Requires: %{pythons}-azure-mgmt-containerregistry >= 10.3.0
|
||||
Requires: %{pythons}-azure-mgmt-containerservice >= 33.0.0
|
||||
Requires: %{pythons}-azure-mgmt-cosmosdb >= 9.7.0
|
||||
Requires: %{pythons}-azure-mgmt-containerservice >= 31.0.0
|
||||
Requires: %{pythons}-azure-mgmt-cosmosdb >= 9.5.1
|
||||
Requires: %{pythons}-azure-mgmt-databoxedge >= 1.0.0
|
||||
Requires: %{pythons}-azure-mgmt-datalake-store >= 1.1.0~b1
|
||||
Requires: %{pythons}-azure-mgmt-datamigration >= 10.0.0
|
||||
Requires: %{pythons}-azure-mgmt-devtestlabs >= 2.2
|
||||
Requires: %{pythons}-azure-mgmt-dns >= 8.0.0
|
||||
@ -94,19 +100,19 @@ Requires: %{pythons}-azure-mgmt-iotcentral >= 10.0.0b1
|
||||
Requires: %{pythons}-azure-mgmt-iothub >= 3.0.0
|
||||
Requires: %{pythons}-azure-mgmt-iothubprovisioningservices >= 1.1.0
|
||||
Requires: %{pythons}-azure-mgmt-keyvault >= 10.3.0
|
||||
Requires: %{pythons}-azure-mgmt-kusto >= 0.3.0
|
||||
Requires: %{pythons}-azure-mgmt-loganalytics >= 13.0.0
|
||||
Requires: %{pythons}-azure-mgmt-managedservices >= 1.0
|
||||
Requires: %{pythons}-azure-mgmt-managementgroups >= 1.0.0
|
||||
Requires: %{pythons}-azure-mgmt-maps >= 2.0.0
|
||||
Requires: %{pythons}-azure-mgmt-marketplaceordering >= 1.1.0
|
||||
Requires: %{pythons}-azure-mgmt-media >= 9.0
|
||||
Requires: %{pythons}-azure-mgmt-monitor >= 5.0.0
|
||||
Requires: %{pythons}-azure-mgmt-msi >= 7.0.0
|
||||
Requires: %{pythons}-azure-mgmt-mysqlflexibleservers >= 1.0.0~b3
|
||||
Requires: %{pythons}-azure-mgmt-netapp >= 10.1.0
|
||||
Requires: %{pythons}-azure-mgmt-policyinsights >= 1.1.0b4
|
||||
Requires: %{pythons}-azure-mgmt-postgresqlflexibleservers >= 1.1.0~b1
|
||||
Requires: %{pythons}-azure-mgmt-privatedns >= 1.0.0
|
||||
Requires: %{pythons}-azure-mgmt-rdbms >= 10.2.0b17
|
||||
Requires: %{pythons}-azure-mgmt-rdbms >= 10.2.0b16
|
||||
Requires: %{pythons}-azure-mgmt-recoveryservices >= 3.0.0
|
||||
Requires: %{pythons}-azure-mgmt-recoveryservicesbackup >= 9.1.0
|
||||
Requires: %{pythons}-azure-mgmt-redhatopenshift >= 1.5.0
|
||||
@ -118,9 +124,9 @@ Requires: %{pythons}-azure-mgmt-security >= 6.0.0
|
||||
Requires: %{pythons}-azure-mgmt-servicebus >= 8.2.0
|
||||
Requires: %{pythons}-azure-mgmt-servicefabric >= 2.1.0
|
||||
Requires: %{pythons}-azure-mgmt-servicefabricmanagedclusters >= 2.0.0~b6
|
||||
Requires: %{pythons}-azure-mgmt-servicelinker >= 1.2.0~b3
|
||||
Requires: %{pythons}-azure-mgmt-signalr >= 2.0.0~b2
|
||||
Requires: %{pythons}-azure-mgmt-sql >= 4.0.0b20
|
||||
Requires: %{pythons}-azure-mgmt-servicelinker >= 1.2.0~b2
|
||||
Requires: %{pythons}-azure-mgmt-signalr >= 2.0.0~b1
|
||||
Requires: %{pythons}-azure-mgmt-sql >= 4.0.0b17
|
||||
Requires: %{pythons}-azure-mgmt-sqlvirtualmachine >= 1.0.0b5
|
||||
Requires: %{pythons}-azure-mgmt-storage >= 21.2.0
|
||||
Requires: %{pythons}-azure-mgmt-synapse >= 2.1.0b5
|
||||
@ -139,7 +145,6 @@ Requires: %{pythons}-distro
|
||||
Requires: %{pythons}-javaproperties >= 0.5.1
|
||||
Requires: %{pythons}-jsondiff >= 2.0.0
|
||||
Requires: %{pythons}-packaging >= 20.9
|
||||
Requires: %{pythons}-paramiko >= 2.0.8
|
||||
Requires: %{pythons}-pycomposefile >= 0.0.29
|
||||
Requires: %{pythons}-pygments >= 2.4
|
||||
Requires: %{pythons}-scp >= 0.13.2
|
||||
@ -264,24 +269,41 @@ Obsoletes: azure-cli-storage < 2.4.3
|
||||
Provides: azure-cli-vm = 2.2.23
|
||||
Obsoletes: azure-cli-vm < 2.2.23
|
||||
Conflicts: azure-cli < 2.0.0
|
||||
%endif
|
||||
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Microsoft Azure CLI 2.0 Command Line Utilities
|
||||
|
||||
%prep
|
||||
%if 0%{?_test}
|
||||
# workaround to prevent post/install failing assuming this file for whatever
|
||||
# reason
|
||||
touch %{_sourcedir}/%{short_name}
|
||||
%else
|
||||
%setup -q -n azure_cli-%{version}
|
||||
%patch -P 1 -p1
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
%if 0%{?_test}
|
||||
set +x
|
||||
for i in $(az | sed -n 's/\s*\([a-z,-]*\)\s\+\:.*/\1/p') ; do
|
||||
echo -n "Testing $i command .. "
|
||||
if az $i --help > /dev/null 2>&1 ; then
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
done
|
||||
set -x
|
||||
%else
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{with test}
|
||||
%if 0%{?_test}
|
||||
# disable debug packages in package test to prevent error about missing files
|
||||
%define debug_package %{nil}
|
||||
%else
|
||||
@ -290,25 +312,8 @@ install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/
|
||||
%fdupes %{buildroot}%{_sitelibdir}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
set +x
|
||||
for i in $(az | sed -n 's/\s*\([a-z,-]*\)\s\+\:.*/\1/p') ; do
|
||||
echo -n "Testing $i command .. "
|
||||
failed=0
|
||||
if az $i --help > /dev/null 2>&1 ; then
|
||||
echo "OK"
|
||||
else
|
||||
echo "FAIL"
|
||||
failed=1
|
||||
fi
|
||||
done
|
||||
set -x
|
||||
if [ $failed -eq 1 ] ; then echo "Testsuite failed." ; exit 1 ; fi
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files
|
||||
%if !%{?_test}
|
||||
%defattr(-,root,root,-)
|
||||
%doc HISTORY.rst README.rst
|
||||
%license LICENSE.txt
|
||||
|
3
azure_cli-2.62.0.tar.gz
Normal file
3
azure_cli-2.62.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8178cb0cf9ec974212541a62d4b582cd952ad939901e940abbf02678942eac20
|
||||
size 10053367
|
3
azure_cli-2.63.0.tar.gz
Normal file
3
azure_cli-2.63.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:89d8d521f91cb8204a745e175eedfb09cf52403fa572672d5ef698b2913e664a
|
||||
size 10072299
|
3
azure_cli-2.64.0.tar.gz
Normal file
3
azure_cli-2.64.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d72fdd526920edda93bed4c85bb4cd26ecf508ab966f0c26de1d2459a8b58355
|
||||
size 10077381
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e41910333cdf12f65e19da5e6076218004cf1d52cc2def917ad244f4f9f3599
|
||||
size 10501010
|
Loading…
x
Reference in New Issue
Block a user