From 2eafd31bcd7a88865572766ea4ee72ee11aaa318c4ef6af54926a3eeb8cc5a4e Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 10 Feb 2020 17:31:45 +0000 Subject: [PATCH] - 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