Accepting request 790096 from home:ikapelyukhin
`azuremetadata` replacement. OBS-URL: https://build.opensuse.org/request/show/790096 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python3-azuremetadata?expand=0&rev=1
This commit is contained in:
commit
7b46b75e12
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.osc
|
3
python3-azuremetadata-5.0.0.tar.bz2
Normal file
3
python3-azuremetadata-5.0.0.tar.bz2
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:62758898eb30ab243da3ba6c3a5dafb3494cee55afb7d1455e38777fc86120ea
|
||||
size 15885
|
6
python3-azuremetadata.changes
Normal file
6
python3-azuremetadata.changes
Normal file
|
@ -0,0 +1,6 @@
|
|||
-------------------------------------------------------------------
|
||||
Tue Mar 31 10:45:22 UTC 2020 - Ivan Kapelyukhin <ikapelyukhin@suse.com>
|
||||
|
||||
- Version 5.0.0
|
||||
- Support new Azure metadata API (bsc#1164818, bsc#1164819)
|
||||
|
64
python3-azuremetadata.spec
Normal file
64
python3-azuremetadata.spec
Normal file
|
@ -0,0 +1,64 @@
|
|||
#
|
||||
# spec file for package python3-azuremetadata
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define upstream_name azuremetadata
|
||||
Name: python3-azuremetadata
|
||||
Version: 5.0.0
|
||||
# Packaged renamed in SLE15
|
||||
Provides: azuremetadata
|
||||
Obsoletes: azuremetadata < 5.0.0
|
||||
Conflicts: regionServiceClientConfigAzure <= 0.0.4
|
||||
Conflicts: regionServiceClientConfigSAPAzure <= 1.0.1
|
||||
Release: 0
|
||||
Summary: Python module for collecting instance metadata from Azure
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Management
|
||||
Url: https://github.com/SUSE/Enceladus
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
Requires: python3
|
||||
Recommends: util-linux
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A module for collecting instance metadata from Microsoft Azure.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
install -d -m 755 %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 man/man1/azuremetadata.1 %{buildroot}/%{_mandir}/man1
|
||||
gzip %{buildroot}/%{_mandir}/man1/azuremetadata.1
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_mandir}/man*/*
|
||||
%dir %{python3_sitelib}/%{upstream_name}
|
||||
%dir %{python3_sitelib}/%{upstream_name}-%{version}-py%{py3_ver}.egg-info
|
||||
%{_bindir}/*
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user