From 66e18ece999def68a1a1cf40097027ff4796d9abc25a14d3e144b42efb1034df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 23:42:48 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python3-azuremetadata revision 75fee4eb7ea088f3003c38636f4ed2af --- .gitattributes | 23 ++++++++++ python3-azuremetadata-5.1.5.tar.bz2 | 3 ++ python3-azuremetadata.changes | 60 ++++++++++++++++++++++++++ python3-azuremetadata.spec | 65 +++++++++++++++++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 .gitattributes create mode 100644 python3-azuremetadata-5.1.5.tar.bz2 create mode 100644 python3-azuremetadata.changes create mode 100644 python3-azuremetadata.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python3-azuremetadata-5.1.5.tar.bz2 b/python3-azuremetadata-5.1.5.tar.bz2 new file mode 100644 index 0000000..4636598 --- /dev/null +++ b/python3-azuremetadata-5.1.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d3bfb54e4ae0e7d9a6eccd6e951e8f12046e635b42929407f470574215ee23b +size 21591 diff --git a/python3-azuremetadata.changes b/python3-azuremetadata.changes new file mode 100644 index 0000000..6663e26 --- /dev/null +++ b/python3-azuremetadata.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Thu Jan 13 21:50:24 UTC 2022 - Robert Schweikert + +- Version 5.1.5 (bsc#1194663) + + Handle lsblk output format change. The json data now contains + "mountpoints" instead of "mountpoint" + +------------------------------------------------------------------- +Wed Apr 21 17:20:35 UTC 2021 - Jesús Bermúdez Velázquez + +- Version 5.1.4 (bsc#1184720, bsc#1172581) + + Use versions endpoint to list the available versions + + Add bypass proxy + + Update way to check classic vms + +------------------------------------------------------------------- +Fri Aug 21 13:45:31 UTC 2020 - Robert Schweikert + +- Fix provides directive (bsc#1175609, bsc#1175610) + + The provides directive must set a version or update does not work + as expected + +------------------------------------------------------------------- +Fri Aug 21 13:45:31 UTC 2020 - Robert Schweikert + +- Fix provides directive (bsc#1175609, bsc#1175610) + + The provides directive must set a version or update does not work + as expected + +------------------------------------------------------------------- +Mon Aug 3 20:44:15 UTC 2020 - Robert Schweikert + +- Update to version 5.1.2 (bsc#1173357, bsc#1174847) + + Detect when the VM is running in ASM (Azure Classic) and handle the + condition to generate the data we are interested in without requiring + access to the full IMDS available only in ARM instances. + +- From version 5.1.1 (bsc#1173238, bsc#1173240) + + Add --listapis and --api latest support + +------------------------------------------------------------------- +Mon Apr 27 14:51:02 UTC 2020 - Ivan Kapelyukhin + +- Version 5.1.0 +- Produce well-formed JSON and XML output when multiple filters + are specified (bsc#1170598, bsc#1170599) + +------------------------------------------------------------------- +Tue Apr 21 04:24:27 UTC 2020 - Ivan Kapelyukhin + +- Version 5.0.1 +- Use lsblk for root device detection (bsc#1169921) + +------------------------------------------------------------------- +Tue Mar 31 10:45:22 UTC 2020 - Ivan Kapelyukhin + +- Version 5.0.0 +- Support new Azure metadata API (bsc#1164818, bsc#1164819) +- Automatically detect root device (bsc#1158698, bsc#1158707) + diff --git a/python3-azuremetadata.spec b/python3-azuremetadata.spec new file mode 100644 index 0000000..75e6c22 --- /dev/null +++ b/python3-azuremetadata.spec @@ -0,0 +1,65 @@ +# +# spec file for package python3-azuremetadata +# +# Copyright (c) 2022 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 https://bugs.opensuse.org/ +# + + +%define upstream_name azuremetadata +Name: python3-azuremetadata +Version: 5.1.5 +Release: 0 +# Packaged renamed in SLE15 +Provides: azuremetadata = %{version} +Obsoletes: azuremetadata < 5.0.0 +Conflicts: regionServiceClientConfigAzure <= 0.0.4 +Conflicts: regionServiceClientConfigSAPAzure <= 1.0.1 +Summary: Python module for collecting instance metadata from Azure +License: GPL-3.0-or-later +Group: System/Management +URL: https://github.com/SUSE-Enceladus/azuremetadata +Source0: %{name}-%{version}.tar.bz2 +Requires: python3 +Recommends: util-linux +BuildRequires: python-rpm-macros +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