diff --git a/ghc.spec b/ghc.spec index 3996706..4b3d038 100644 --- a/ghc.spec +++ b/ghc.spec @@ -190,10 +190,10 @@ make -C docs/storage-mgt ps %if %check_haddock_ghc make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc HADDOCK_DOCS=YES install install-docs mkdir html-docs -cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs %else make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name}-doc install %endif +cp -a %{buildroot}%{_docdir}/%{name}-doc/{index.html,libraries} html-docs #mv %{buildroot}%{_prefix}/bin/hsc2hs %{buildroot}%{_prefix}/bin/hsc2hs-ghc dir=`pwd` @@ -250,18 +250,21 @@ fi %files doc %defattr(-,root,root) +%doc html-docs/* %if %check_haddock_ghc %doc docs/comm %doc docs/docbook-cheat-sheet/docbook-cheat-sheet %doc docs/users_guide/users_guide %doc libraries/Cabal/doc/Cabal -%doc html-docs/* %doc docs/storage-mgt/ldv.ps %doc docs/storage-mgt/rp.ps %doc docs/storage-mgt/sm.ps %endif %changelog +* Tue Aug 19 2008 Herbert Graeber 6.8.3 +- the ghc-doc packages contains the LICENSES files even without docs built + * Mon Aug 18 2008 Herbert Graeber 6.8.3 - add provides for all libraries included - create a doc package even when docs cannot be created