|
|
|
@ -127,7 +127,7 @@ install -D --mode=0644 %{pkgnamever}.conf %{buildroot}%{ghclibdir}/package.conf.
|
|
|
|
|
%if %{undefined without_haddock}\
|
|
|
|
|
%define pkgname %{?1}%{!?1:%{pkg_name}}\
|
|
|
|
|
%define pkgver %{?2}%{!?2:%{version}}\
|
|
|
|
|
if [ -f dist/build/libHS%{pkgname}-%{pkgver}.a ]; then\
|
|
|
|
|
if [ -f dist/build/libHS%{pkgname}-%{pkgver}*.a ]; then\
|
|
|
|
|
%cabal haddock --html %{!?without_hscolour:%(if [ -x %{_bindir}/HsColour ]; then echo --hyperlink-source; fi)} --hoogle %{?cabal_haddock_options}\
|
|
|
|
|
fi\
|
|
|
|
|
%endif\
|
|
|
|
|