Tim Hardeck 2017-03-22 14:31:00 +00:00 committed by Git OBS Bridge
parent 86d1e316c1
commit 8e4c8e0041

View File

@ -48,13 +48,13 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve
%install %install
%goinstall %goinstall
install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d 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 mv %{buildroot}/%{_bindir}/cli %{buildroot}/%{_bindir}/cf
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/cf %{_bindir}/cf
%config %{_sysconfdir}/bash_completion.d/cf %config %{_sysconfdir}/bash_completion.d/cf.sh
%doc CHANGELOG.md LICENSE NOTICE README %doc CHANGELOG.md LICENSE NOTICE README
%changelog %changelog