diff --git a/cf-cli.spec b/cf-cli.spec index e44c94d..b156840 100644 --- a/cf-cli.spec +++ b/cf-cli.spec @@ -48,13 +48,13 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve %install %goinstall install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d -cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf +cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf.sh mv %{buildroot}/%{_bindir}/cli %{buildroot}/%{_bindir}/cf %files %defattr(-,root,root,-) %{_bindir}/cf -%config %{_sysconfdir}/bash_completion.d/cf +%config %{_sysconfdir}/bash_completion.d/cf.sh %doc CHANGELOG.md LICENSE NOTICE README %changelog