fix build when haddock disabled
This commit is contained in:
parent
73d35cd7d9
commit
1bdcd1db0e
@ -90,7 +90,9 @@ documentation.
|
||||
%install
|
||||
%ghc_lib_install
|
||||
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
|
||||
@ -113,9 +115,10 @@ grep "%{_docdir}/ghc/html/libraries/%{pkgver}" %{name}-devel.files > %{name}-dev
|
||||
%doc ChangeLog.md README.md
|
||||
|
||||
|
||||
%if %{undefined without_haddock}
|
||||
%files devel-doc -f %{name}-devel-doc.files
|
||||
%doc ChangeLog.md README.md
|
||||
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Jul 28 2018 Jens Petersen <petersen@redhat.com> - 0.5.13.1-4
|
||||
|
Loading…
Reference in New Issue
Block a user