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