setup bash completion
This commit is contained in:
parent
02b050b955
commit
1cad49bfad
@ -3,7 +3,7 @@
|
||||
|
||||
Name: bench
|
||||
Version: 1.0.12
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: Command-line benchmark tool
|
||||
|
||||
License: BSD
|
||||
@ -49,6 +49,9 @@ cp -bp %{SOURCE1} %{name}.cabal
|
||||
%ghc_bin_install
|
||||
# End cabal-rpm install
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
dist/build/%{name}/%{name} --bash-completion-script %{name} > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
|
||||
%files
|
||||
# Begin cabal-rpm files:
|
||||
@ -56,9 +59,13 @@ cp -bp %{SOURCE1} %{name}.cabal
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
# End cabal-rpm files
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Aug 9 2020 Jens Petersen <petersen@redhat.com> - 1.0.12-10
|
||||
- add bash completion
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user