Robert Schweikert
97abc91016
- Update Azure CLI to latest version (boo#1154393) OBS-URL: https://build.opensuse.org/request/show/742554 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-command-modules-nspkg?expand=0&rev=8
65 lines
2.2 KiB
RPMSpec
65 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package azure-cli-command-modules-nspkg
|
|
#
|
|
# 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
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: azure-cli-command-modules-nspkg
|
|
Version: 2.0.3
|
|
Release: 0
|
|
Summary: Microsoft Azure CLI Command modules Namespace Package
|
|
License: MIT
|
|
Group: System/Management
|
|
Url: https://github.com/Azure/azure-cli
|
|
Source: https://files.pythonhosted.org/packages/source/a/azure-cli-command-modules-nspkg/azure-cli-command-modules-nspkg-%{version}.tar.gz
|
|
Source1: LICENSE.txt
|
|
BuildRequires: azure-cli-nspkg >= 3.0.0
|
|
BuildRequires: fdupes
|
|
BuildRequires: python3-azure-nspkg >= 3.0.0
|
|
BuildRequires: python3-setuptools
|
|
Requires: azure-cli-nspkg >= 3.0.0
|
|
Requires: python3-azure-nspkg >= 3.0.0
|
|
Conflicts: azure-cli < 2.0.0
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Microsoft Azure CLI Command modules Namespace Package
|
|
|
|
This is the Microsoft Azure CLI command module namespace package.
|
|
|
|
This package is not intended to be installed directly by the end user.
|
|
|
|
It provides the necessary files for other packages to extend the azure cli command module namespaces.
|
|
|
|
%prep
|
|
%setup -q -n azure-cli-command-modules-nspkg-%{version}
|
|
|
|
%build
|
|
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-command-modules-nspkg-%{version}
|
|
python3 setup.py build
|
|
|
|
%install
|
|
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE.txt README.rst
|
|
%{python3_sitelib}/azure/cli/command_modules
|
|
%{python3_sitelib}/azure_cli_command_modules_nspkg-*.egg-info
|
|
|
|
%changelog
|