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