commit 3d6a37a77cb6894d64aec057b2cf6ea8a2065f45c68df0157b324a6b450733f9 Author: Robert Schweikert Date: Fri Nov 9 14:06:49 2018 +0000 Accepting request 646741 from home:rjschwei - New package to replace the individual image manipulation packages OBS-URL: https://build.opensuse.org/request/show/646741 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python3-ec2imgutils?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ec2imgutils-7.0.0.tar.bz2 b/ec2imgutils-7.0.0.tar.bz2 new file mode 100644 index 0000000..6f080cf --- /dev/null +++ b/ec2imgutils-7.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a93026bba6f8952627a3f3a09f8f65e065908ea03163a6d28be73c8e2e2be28b +size 36174 diff --git a/python3-ec2imgutils.changes b/python3-ec2imgutils.changes new file mode 100644 index 0000000..c7cefbe --- /dev/null +++ b/python3-ec2imgutils.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Tue Nov 6 19:16:37 UTC 2018 - Robert Schweikert + +- Update to version 7.0.0 + + Complete ec2removeimg implementation + + Ready for release and replacement of individual packages + +------------------------------------------------------------------- +Thu Nov 1 12:09:21 UTC 2018 - Robert Schweikert + +- Update to version 6.9.99 + + Initial implementation of ec2removeimg + +------------------------------------------------------------------- +Thu Sep 27 23:41:38 UTC 2018 - Robert Schweikert + +- Initial build + + Version 6.9.98 + + First consolidation build of ec2deprecateimg, ec2publishimg, ec2uploadimg diff --git a/python3-ec2imgutils.spec b/python3-ec2imgutils.spec new file mode 100644 index 0000000..8840241 --- /dev/null +++ b/python3-ec2imgutils.spec @@ -0,0 +1,91 @@ +# +# spec file for package python3-ec2imgutils +# +# Copyright (c) 2018 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 http://bugs.opensuse.org/ +# + + +%define upstream_name ec2imgutils + +Name: python3-ec2imgutils +Version: 7.0.0 +Release: 0 +Summary: Image management utilities for AWS EC2 +License: GPL-3.0+ +Group: System/Management +Url: https://github.com/SUSE-Enceladus/ec2imgutils +Source0: %{upstream_name}-%{version}.tar.bz2 +Requires: python3 +Requires: python3-boto3 >= 1.4.1 +Requires: python3-dateutil +Requires: python3-paramiko +BuildRequires: python3-boto3 >= 1.4.1 +BuildRequires: python3-dateutil +Requires: python3-paramiko +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-ec2utilsbase = %{version} +Obsoletes: python-ec2utilsbase < %{version} +Provides: python-ec2deprecateimg = %{version} +Obsoletes: python-ec2deprecateimg < %{version} +Provides: python-ec2publishimg = %{version} +Obsoletes: python-ec2publishimg < %{version} +Provides: python-ec2uploadimg = %{version} +Obsoletes: python-ec2uploadimg < %{version} + +# Package rename in SLE 15 GA do not remove Provides, Obsolete +# directives until after SLE 15 SP3 EOL +Provides: python3-ec2utilsbase = %{version} +Obsoletes: python3-ec2utilsbase < %{version} +Provides: python3-ec2deprecateimg = %{version} +Obsoletes: python3-ec2deprecateimg < %{version} +Provides: python3-ec2publishimg = %{version} +Obsoletes: python3-ec2publishimg < %{version} +Provides: python3-ec2uploadimg = %{version} +Obsoletes: python3-ec2uploadimg < %{version} + +%description +A collection of image manipulation utilities for AWS EC2. These include: +- ec2deprecateimg: Deprecates images by applying tags per convention +- ec2publishimg: Set image visibility +- ec2uploadimg: Upload an image to AWS EC2 + +%prep +%setup -q -n %{upstream_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/* %{buildroot}/%{_mandir}/man1 +gzip %{buildroot}/%{_mandir}/man1/* + +%files +%defattr(-,root,root,-) +%doc README.md +%license LICENSE +%{_mandir}/man*/* +%dir %{python3_sitelib}/ec2imgutils +%{python3_sitelib}/* +%{_bindir}/* + +%changelog + +