use haddock --hyperlink-source unconditionally

This commit is contained in:
Jens Petersen 2019-02-02 01:15:55 +08:00
parent e35da2ef75
commit b82b10135e
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ licensedirversion=%{?2:-%2}\
%define pkgname %{?1}%{!?1:%{pkg_name}}\
%define pkgver %{?2}%{!?2:%{version}}\
if [ -n dist/build/libHS%{pkgname}-%{pkgver}*.so ]; then\
%cabal haddock --html %{!?without_hscolour:%(if [ -x %{_bindir}/HsColour ]; then echo --hyperlink-source; fi)} --hoogle %{?cabal_haddock_options}\
%cabal haddock --html --hyperlink-source --hoogle %{?cabal_haddock_options}\
fi\
%endif\
%{nil}