Sync from SUSE:SLFO:Main python-ec2metadata revision 24c9f407e5600c297bbb2d864a2bb377
This commit is contained in:
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
|
BIN
ec2metadata-5.0.0.tar.bz2
(Stored with Git LFS)
Normal file
BIN
ec2metadata-5.0.0.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
90
python-ec2metadata.changes
Normal file
90
python-ec2metadata.changes
Normal file
@@ -0,0 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 20:18:31 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Obsolete the Python 3.6 build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 30 17:37:05 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Replace python3-ec2metadata with universal packaging
|
||||
(https://trello.com/c/fupyiTVo/168-python3-packages-in-factory).
|
||||
- Rename to python-ec2metadata.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 23 21:26:04 UTC 2023 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Update to version 5.0.0 (bsc#1214215)
|
||||
+ Remove the --use-token command line option. Aws is deprecating access
|
||||
to instance metadata without authentication token. Ability to access
|
||||
metadat without token has been removed
|
||||
+ Support access to the metadata server over IPv6. If the customer
|
||||
enables the IPv6 endpoint for an instance it will be preferred over the
|
||||
IPv4 endpoint
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 20:52:54 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Update to version 4.0.0 (bsc#1204066)
|
||||
+ Disambiguate cli options for duplicate endpoints. This is an
|
||||
incompatible change for some API versions of IMDS. When a duplicate
|
||||
endpoint is detected the cli option for both endpoints is expanded to a
|
||||
unique name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 3 18:30:06 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Update to version 3.0.3 (bsc#1174743, bsc#1174837)
|
||||
+ Prefer IMDSv2 and switch all IMDS access requests to support v2 token
|
||||
based access method.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 22:21:34 UTC 2019 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Update to version 3.0.2 (bsc#1157901, bsc#1157902)
|
||||
+ Add man page
|
||||
+ Support accessing IMDS with a token (API change) to support
|
||||
disabling unauthenticated acces of IMDS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 13:24:31 UTC 2017 - rjschwei@suse.com
|
||||
|
||||
- Update to version 2.0.0
|
||||
+ Port to Python 3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 15:58:05 UTC 2016 - jgleissner@suse.com
|
||||
|
||||
- Bump to version 1.5.4 (bsc#994138 bsc#994139)
|
||||
+ ec2metadata: do not use proxy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 15:26:45 UTC 2015 - rjschwei@suse.com
|
||||
|
||||
- Bump to version 1.5.3 (bnc#924626)
|
||||
+ Properly write metadata to file if no query argument is provided
|
||||
+ Properly generate XML for 'public-keys' query option
|
||||
+ Document the 'api' option in the help message
|
||||
+ Alpha sort the options displayed with the help message
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 08:29:31 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- Bump to version 1.5.2
|
||||
+ fix the no argument use case
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 16:54:53 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- Switch the upstream URL to the forked project, origin project
|
||||
appears not to be maintained
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 19:03:58 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- Include in SLE 12 (FATE #315990)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 18:59:30 UTC 2014 - rschweikert@suse.com
|
||||
|
||||
- Initial build
|
||||
|
72
python-ec2metadata.spec
Normal file
72
python-ec2metadata.spec
Normal file
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package python3-ec2metadata
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%define upstream_name ec2metadata
|
||||
Name: python-ec2metadata
|
||||
Version: 5.0.0
|
||||
Release: 0
|
||||
Summary: Collect instance metadata in EC2
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Management
|
||||
URL: https://github.com/SUSE-Enceladus/ec2metadata
|
||||
Source0: %{upstream_name}-%{version}.tar.bz2
|
||||
Requires: python
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: fdupes
|
||||
Obsoletes: python3-ec2metadata <= %{version}
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Collect instance meta data in Amazon Compute CLoud instances
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{upstream_name}-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
install -d -m 755 %{buildroot}/%{_mandir}/man1
|
||||
install -m 644 man/man1/ec2metadata.1 %{buildroot}/%{_mandir}/man1
|
||||
%python_clone -a %{buildroot}%{_bindir}/%{upstream_name}
|
||||
%python_clone -a %{buildroot}%{_mandir}/man1/ec2metadata.1
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative ec2metadata ec2metadata.1%{?ext_man}
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative ec2metadata
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/%{upstream_name}
|
||||
%{python_sitelib}/%{upstream_name}
|
||||
%{python_sitelib}/%{upstream_name}-%{version}*-info
|
||||
%python_alternative %{_mandir}/man1/%{upstream_name}.1%{?ext_man}
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user