fix build when haddock disabled

This commit is contained in:
Jens Petersen 2018-09-13 18:39:28 +09:00
parent 64c248d9d3
commit 5359b3599e

View File

@ -109,7 +109,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
%ghc_lib_install
%ghc_fix_rpath %{pkgver}
grep -v "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-nodoc.files
%if %{undefined without_haddock}
grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-devel-doc.files
%endif
%check