2017-09-27 13:57:55 +02:00
|
|
|
#
|
|
|
|
# spec file for package azure-cli-core
|
|
|
|
#
|
2021-01-08 16:23:07 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-09-27 13:57:55 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-11 11:54:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-09-27 13:57:55 +02:00
|
|
|
#
|
|
|
|
|
2018-02-09 20:21:06 +01:00
|
|
|
|
2017-09-27 13:57:55 +02:00
|
|
|
Name: azure-cli-core
|
2021-07-02 10:55:03 +02:00
|
|
|
Version: 2.25.0
|
2017-09-27 13:57:55 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Microsoft Azure CLI Core Module
|
|
|
|
License: MIT
|
|
|
|
Group: System/Management
|
2019-11-28 16:37:54 +01:00
|
|
|
URL: https://github.com/Azure/azure-cli
|
2017-09-27 13:57:55 +02:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz
|
|
|
|
Source1: LICENSE.txt
|
2020-09-30 15:23:11 +02:00
|
|
|
Patch0: acc_disable-update-check.patch
|
2018-02-09 20:21:06 +01:00
|
|
|
BuildRequires: azure-cli-nspkg
|
2019-04-18 03:07:05 +02:00
|
|
|
BuildRequires: fdupes
|
2019-06-04 14:25:55 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-04-18 03:07:05 +02:00
|
|
|
BuildRequires: python3-azure-nspkg >= 3.0.0
|
2020-04-02 19:20:28 +02:00
|
|
|
BuildRequires: python3-mock
|
2017-09-27 13:57:55 +02:00
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
Requires: azure-cli-nspkg
|
2020-09-28 13:17:37 +02:00
|
|
|
Requires: azure-cli-telemetry >= 1.0.6
|
2021-04-01 13:18:16 +02:00
|
|
|
Requires: python3-PyJWT >= 1.7.1
|
2020-03-11 09:49:51 +01:00
|
|
|
Requires: python3-PyYAML < 6.0
|
|
|
|
Requires: python3-PyYAML >= 5.2
|
2019-10-24 21:24:44 +02:00
|
|
|
Requires: python3-adal < 2.0
|
2021-05-12 09:14:36 +02:00
|
|
|
Requires: python3-adal >= 1.2.7
|
2019-10-24 21:24:44 +02:00
|
|
|
Requires: python3-argcomplete < 2.0
|
|
|
|
Requires: python3-argcomplete >= 1.8
|
2021-01-08 13:07:53 +01:00
|
|
|
Requires: python3-azure-common < 2.0
|
|
|
|
Requires: python3-azure-common >= 1.1
|
2021-05-12 09:14:36 +02:00
|
|
|
Requires: python3-azure-mgmt-core < 2.0.0
|
|
|
|
Requires: python3-azure-mgmt-core >= 1.2.1
|
2019-04-18 03:07:05 +02:00
|
|
|
Requires: python3-azure-nspkg >= 3.0.0
|
2021-04-01 13:18:16 +02:00
|
|
|
Requires: python3-cryptography >= 3.2
|
2021-01-21 18:00:25 +01:00
|
|
|
Requires: python3-humanfriendly < 10.0
|
2018-02-09 20:21:06 +01:00
|
|
|
Requires: python3-humanfriendly >= 4.7
|
2017-10-02 14:17:18 +02:00
|
|
|
Requires: python3-jmespath
|
2019-05-21 12:58:42 +02:00
|
|
|
Requires: python3-knack < 1.0.0
|
2021-06-14 12:08:49 +02:00
|
|
|
Requires: python3-knack >= 0.8.2
|
2020-05-07 14:27:32 +02:00
|
|
|
Requires: python3-msal < 2.0.0
|
2021-04-01 13:18:16 +02:00
|
|
|
Requires: python3-msal >= 1.10.0
|
2020-06-17 20:16:47 +02:00
|
|
|
Requires: python3-msal-extensions < 1.0.0
|
|
|
|
Requires: python3-msal-extensions >= 0.1.3
|
2019-10-24 21:24:44 +02:00
|
|
|
Requires: python3-paramiko < 3.0.0
|
2020-05-07 14:27:32 +02:00
|
|
|
Requires: python3-paramiko >= 2.0.8
|
2017-10-02 14:17:18 +02:00
|
|
|
Requires: python3-pip
|
2020-05-07 14:27:32 +02:00
|
|
|
Requires: python3-pkginfo >= 1.5.0.1
|
2018-10-11 11:54:01 +02:00
|
|
|
Requires: python3-pyOpenSSL >= 17.1.0
|
2020-03-11 09:49:51 +01:00
|
|
|
Requires: python3-requests < 3.0.0
|
2020-07-20 17:37:38 +02:00
|
|
|
Requires: python3-requests >= 2.22
|
2019-11-28 16:37:54 +01:00
|
|
|
Requires: python3-six < 2.0.0
|
|
|
|
Requires: python3-six >= 1.12
|
2021-07-02 10:55:03 +02:00
|
|
|
Requires: python3-urllib3 >= 1.26.5
|
2018-10-11 11:54:01 +02:00
|
|
|
Requires: python3-wheel >= 0.30.0
|
|
|
|
%if %{python3_version_nodots} < 34
|
|
|
|
Requires: python-enum34 >= 1.0.4
|
|
|
|
%endif
|
2017-09-27 13:57:55 +02:00
|
|
|
Conflicts: azure-cli < 2.0.0
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Microsoft Azure CLI Core Module
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n azure-cli-core-%{version}
|
2020-09-30 15:23:11 +02:00
|
|
|
%patch0 -p1
|
2017-09-27 13:57:55 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}
|
|
|
|
python3 setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
|
2019-06-04 14:25:55 +02:00
|
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
2017-10-04 13:54:18 +02:00
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.*
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__pycache__
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/azure/__init__.*
|
|
|
|
rm -rf %{buildroot}%{python3_sitelib}/azure/__pycache__
|
2017-09-27 13:57:55 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2018-04-23 15:05:14 +02:00
|
|
|
%doc HISTORY.rst README.rst
|
|
|
|
%license LICENSE.txt
|
2017-10-04 13:54:18 +02:00
|
|
|
%{python3_sitelib}/azure/cli/core
|
|
|
|
%{python3_sitelib}/azure_cli_core-*.egg-info
|
2018-02-09 20:21:06 +01:00
|
|
|
|
2017-09-27 13:57:55 +02:00
|
|
|
%changelog
|