From 46f60c5540a25a7b11d9753607906681cec41fa2 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 20 Jan 2023 18:47:29 +0800 Subject: [PATCH] install bash-completion file --- ghc.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ghc.spec b/ghc.spec index 922c9b0..6cfade1 100644 --- a/ghc.spec +++ b/ghc.spec @@ -743,6 +743,10 @@ for i in *; do done ) +# bash completion +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ +cp -p utils/completion/ghc.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} + %check export LANG=C.utf8 @@ -905,6 +909,7 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index %{ghcliblib}/package.conf.d/package.cache.lock %{ghcliblib}/settings %{ghcliblib}/template-hsc.h +%{_datadir}/bash-completion/completions/%{name} %{_mandir}/man1/ghc-pkg.1* %{_mandir}/man1/haddock.1* %{_mandir}/man1/runghc.1* @@ -980,6 +985,7 @@ env -C %{ghc_html_libraries_dir} ./gen_contents_index * Mon Jan 30 2023 Jens Petersen - 9.2.5-125 - rebase to ghc-9.2.5 from ghc9.2 - fully Obsoletes ghc9.2* +- install bash-completion file * Sun Jan 15 2023 Jens Petersen - 9.0.2-124 - rebase to 9.0.2 from ghc9.0