From c2da1038f3996971e54354596890bb60490673ae Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 17 Nov 2012 20:38:54 +0900 Subject: [PATCH] install ghc-doc-index in bindir --- ghc.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index 50454c4..686b869 100644 --- a/ghc.spec +++ b/ghc.spec @@ -311,6 +311,7 @@ done mkdir -p %{buildroot}%{_sysconfdir}/cron.hourly install -p --mode=755 %SOURCE3 %{buildroot}%{_sysconfdir}/cron.hourly/ghc-doc-index mkdir -p %{buildroot}%{_localstatedir}/lib/ghc +install -p -m 0644 %SOURCE4 %{buildroot}%{_bindir}/ghc-doc-index %endif %check @@ -368,7 +369,6 @@ fi %doc ANNOUNCE HACKING LICENSE README %{_bindir}/ghc %{_bindir}/ghc-%{version} -%{_bindir}/ghc-doc-index %{_bindir}/ghc-pkg %{_bindir}/ghc-pkg-%{version} %{_bindir}/ghci @@ -399,6 +399,7 @@ fi %dir %{_docdir}/ghc %dir %{ghcdocbasedir} %if %{undefined without_haddock} +%{_bindir}/ghc-doc-index %{_bindir}/haddock %{_bindir}/haddock-ghc-%{version} %{ghclibdir}/haddock