This commit is contained in:
parent
86d1e316c1
commit
8e4c8e0041
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user