forked from pool/azure-cli-core
Accepting request 704424 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/704424 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/azure-cli-core?expand=0&rev=5
This commit is contained in:
commit
c1e7cac2f2
12
acc_drop-compatible-releases-operator.patch
Normal file
12
acc_drop-compatible-releases-operator.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nru azure-cli-core-2.0.64.orig/setup.py azure-cli-core-2.0.64/setup.py
|
||||
--- azure-cli-core-2.0.64.orig/setup.py 2019-05-02 02:39:57.000000000 +0200
|
||||
+++ azure-cli-core-2.0.64/setup.py 2019-05-21 11:40:55.175850572 +0200
|
||||
@@ -59,7 +59,7 @@
|
||||
'colorama>=0.3.9',
|
||||
'humanfriendly>=4.7',
|
||||
'jmespath',
|
||||
- 'knack~=0.6.1',
|
||||
+ 'knack>=0.6.1',
|
||||
'msrest>=0.4.4',
|
||||
'msrestazure>=0.4.25',
|
||||
'paramiko>=2.0.8',
|
14
acc_relax-requires-versions.patch
Normal file
14
acc_relax-requires-versions.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -Nru azure-cli-core-2.0.64.orig/setup.py azure-cli-core-2.0.64/setup.py
|
||||
--- azure-cli-core-2.0.64.orig/setup.py 2019-05-21 11:42:59.840812713 +0200
|
||||
+++ azure-cli-core-2.0.64/setup.py 2019-05-21 11:43:25.317009318 +0200
|
||||
@@ -71,8 +71,8 @@
|
||||
'requests>=2.20.0',
|
||||
'six',
|
||||
'tabulate>=0.7.7',
|
||||
- 'wheel==0.30.0',
|
||||
- 'azure-mgmt-resource==2.1.0',
|
||||
+ 'wheel>=0.30.0',
|
||||
+ 'azure-mgmt-resource>=2.1.0',
|
||||
'pyperclip>=1.7.0',
|
||||
'psutil>=5.6.1'
|
||||
]
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:227b3ad08b7d138be005581835a09f0978eed1b4a8d320e733c7b228c6cac2f0
|
||||
size 81322
|
3
azure-cli-core-2.0.64.tar.gz
Normal file
3
azure-cli-core-2.0.64.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25e68a66e69da651e398d09987a0c441972cce3edb665b6e8a279b4af419b5e9
|
||||
size 106555
|
@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 09:47:09 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 2.0.64
|
||||
+ For detailed information about changes see the
|
||||
HISTORY.txt file provided with this package
|
||||
- Add patch to drop compatible releases operator from setup.py,
|
||||
required for SLES12 as the setuptools version is too old
|
||||
+ acc_drop-compatible-releases-operator.patch
|
||||
- Refresh patches for new version
|
||||
+ acc_relax-requires-versions.patch
|
||||
- Update Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 14:08:23 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.txt file provided with this package
|
||||
- Bump minimum version for Python Azure SDK namespace
|
||||
packages to 3.0.0 in BuildRequires and Requires
|
||||
- Relax upper version for python-tabulate build dependency (boo#1125671)
|
||||
+ Cherry-pick fix from upstream to patch setup.py
|
||||
* acc_relax-requires-versions.patch
|
||||
+ Remove upper version constraint in BuildRequires for python-tabulate
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 21:11:56 UTC 2019 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Relax version requirement of tabluate, accept up to next minor version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 1 10:27:17 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package azure-cli-core
|
||||
#
|
||||
# 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
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: azure-cli-core
|
||||
Version: 2.0.45
|
||||
Version: 2.0.64
|
||||
Release: 0
|
||||
Summary: Microsoft Azure CLI Core Module
|
||||
License: MIT
|
||||
@ -25,33 +25,35 @@ Group: System/Management
|
||||
Url: https://github.com/Azure/azure-cli
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz
|
||||
Source1: LICENSE.txt
|
||||
Patch1: acc_drop-compatible-releases-operator.patch
|
||||
Patch2: acc_relax-requires-versions.patch
|
||||
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-nspkg
|
||||
Requires: azure-cli-telemetry
|
||||
Requires: python3-PyJWT
|
||||
Requires: python3-PyYAML < 4.0.0
|
||||
Requires: python3-PyYAML >= 3.13
|
||||
Requires: python3-adal >= 1.0.2
|
||||
Requires: python3-PyYAML
|
||||
Requires: python3-adal >= 1.2.0
|
||||
Requires: python3-argcomplete >= 1.8.0
|
||||
Requires: python3-azure-mgmt-resource >= 2.0.0
|
||||
Requires: python3-azure-nspkg
|
||||
Requires: python3-azure-mgmt-resource >= 2.1.0
|
||||
Requires: python3-azure-nspkg >= 3.0.0
|
||||
Requires: python3-colorama >= 0.3.9
|
||||
Requires: python3-humanfriendly >= 4.7
|
||||
Requires: python3-jmespath
|
||||
Requires: python3-knack >= 0.4.2
|
||||
Requires: python3-knack < 1.0.0
|
||||
Requires: python3-knack >= 0.6.1
|
||||
Requires: python3-msrest >= 0.4.4
|
||||
Requires: python3-msrestazure >= 0.4.25
|
||||
Requires: python3-paramiko >= 2.0.8
|
||||
Requires: python3-pip
|
||||
Requires: python3-psutil >= 5.6.1
|
||||
Requires: python3-pyOpenSSL >= 17.1.0
|
||||
Requires: python3-pygments
|
||||
Requires: python3-requests
|
||||
Requires: python3-pyperclip >= 1.7.0
|
||||
Requires: python3-requests >= 2.20.0
|
||||
Requires: python3-six
|
||||
Requires: python3-tabulate <= 0.8.2
|
||||
Requires: python3-tabulate >= 0.7.7
|
||||
Requires: python3-wheel >= 0.30.0
|
||||
%if %{python3_version_nodots} < 34
|
||||
@ -66,6 +68,8 @@ Microsoft Azure CLI Core Module
|
||||
|
||||
%prep
|
||||
%setup -q -n azure-cli-core-%{version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}
|
||||
@ -73,6 +77,7 @@ python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
|
||||
%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__.*
|
||||
|
Loading…
Reference in New Issue
Block a user