From 2eafd31bcd7a88865572766ea4ee72ee11aaa318c4ef6af54926a3eeb8cc5a4e Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 10 Feb 2020 17:31:45 +0000 Subject: [PATCH 1/2] - Add bash command completion capability (boo#1117074) OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=80 --- aws-cli.changes | 5 +++++ aws-cli.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/aws-cli.changes b/aws-cli.changes index 5f05678..488a843 100644 --- a/aws-cli.changes +++ b/aws-cli.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 10 17:29:44 UTC 2020 - Robert Schweikert + +- Add bash command completion capability (boo#1117074) + ------------------------------------------------------------------- Thu Jan 30 12:47:41 UTC 2020 - John Paul Adrian Glaubitz diff --git a/aws-cli.spec b/aws-cli.spec index 732232e..b80652b 100644 --- a/aws-cli.spec +++ b/aws-cli.spec @@ -90,6 +90,9 @@ find %{buildroot}%{python_sitelib}/awscli/examples -type f -exec chmod 644 {} \; %endif # No DOS crap rm %{buildroot}/%{_bindir}/aws.cmd +# bash completion +install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d +ln -s %{_bindir}/aws_bash_completer %{buildroot}%{_sysconfdir}/bash_completion.d/aws %files %doc CHANGELOG.rst README.rst @@ -106,5 +109,6 @@ rm %{buildroot}/%{_bindir}/aws.cmd %{python_sitelib}/*egg-info/* %endif %{_bindir}/* +%{_sysconfdir}/bash_completion.d/aws %changelog From 83f55f6b42e28ab0c19cfa8e01e2afe24f68eda02186f594ea9d0f2d536f7551 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Fri, 14 Feb 2020 13:47:48 +0000 Subject: [PATCH 2/2] Accepting request 774369 from home:dirkmueller:branches:Cloud:Tools - make it possible to find the package under the name "awscli" OBS-URL: https://build.opensuse.org/request/show/774369 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=81 --- aws-cli.changes | 5 +++++ aws-cli.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/aws-cli.changes b/aws-cli.changes index 488a843..229a2a9 100644 --- a/aws-cli.changes +++ b/aws-cli.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 14 13:33:26 UTC 2020 - Dirk Mueller + +- make it possible to find the package under the name "awscli" + ------------------------------------------------------------------- Mon Feb 10 17:29:44 UTC 2020 - Robert Schweikert diff --git a/aws-cli.spec b/aws-cli.spec index b80652b..333558d 100644 --- a/aws-cli.spec +++ b/aws-cli.spec @@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz Patch0: hide_py_pckgmgmt.patch BuildRequires: fdupes Requires: groff +Provides: awscli = %{version} BuildArch: noarch %if 0%{?suse_version} && 0%{?suse_version} > 1315 BuildRequires: python3-devel