diff --git a/ec2metadata-2.0.0.tar.bz2 b/ec2metadata-2.0.0.tar.bz2 deleted file mode 100644 index f8002c2..0000000 --- a/ec2metadata-2.0.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6fe6832e101dda8916f25ed87a6b5da8401521fed059c48a29246fd1f881a5bb -size 15514 diff --git a/ec2metadata-3.0.2.tar.bz2 b/ec2metadata-3.0.2.tar.bz2 new file mode 100644 index 0000000..480f24d --- /dev/null +++ b/ec2metadata-3.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3726e645c9329b3ca445612747435ee5bee171a44196d7de081427a1e9c31617 +size 16589 diff --git a/python3-ec2metadata.changes b/python3-ec2metadata.changes index 62c8957..04c52ca 100644 --- a/python3-ec2metadata.changes +++ b/python3-ec2metadata.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Dec 4 22:21:34 UTC 2019 - Robert Schweikert + +- 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 diff --git a/python3-ec2metadata.spec b/python3-ec2metadata.spec index a884e51..0eda582 100644 --- a/python3-ec2metadata.spec +++ b/python3-ec2metadata.spec @@ -1,7 +1,7 @@ # # spec file for package python-ec2metadata # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,18 +19,23 @@ %define upstream_name ec2metadata Name: python3-ec2metadata -Version: 2.0.0 +Version: 3.0.2 Release: 0 Summary: Collect instance metadata in EC2 License: GPL-3.0+ Group: System/Management -Url: https://github.com/SUSE/Enceladus +Url: https://github.com/SUSE-Enceladus/ec2metadata Source0: %{upstream_name}-%{version}.tar.bz2 Requires: python3 BuildRequires: python3-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# Package renamed in SLE 12, do not remove Provides, Obsolete directives +# until after SLE 12 EOL +Provides: python-ec2metadata = %{version} +Obsoletes: python-ec2metadata < %{version} + %description Collect instance meta data in Amazon Compute CLoud instances @@ -43,10 +48,15 @@ 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/ec2metadata.1 %{buildroot}/%{_mandir}/man1 +gzip %{buildroot}/%{_mandir}/man1/ec2metadata.1 %files %defattr(-,root,root,-) -%doc README.md LICENSE +%doc README.md +%license LICENSE +%{_mandir}/man*/* %dir %{python3_sitelib}/%{upstream_name} %dir %{python3_sitelib}/%{upstream_name}-%{version}-py%{py3_ver}.egg-info %{_bindir}/*