https://bugzilla.redhat.com/show_bug.cgi?id=1149850
--- Comment #1 from Jens Petersen petersen@redhat.com --- (In reply to Matěj Cepl from comment #0)
ghc-compiler has 80+MB in /usr/share/doc/ghc-compiler/html
I assume you mean /usr/share/doc/ghc/html/libraries ?
While that directory is owned by ghc-compiler most of the content in there is from various libraries.
At a minimum, ghc-compiler pulls in ghc-base-devel which contains:
15M base-4.6.0.1/ 2.5M ghc-prim-0.3.0.0/ 392K integer-gmp-0.5.0.0/
ghc-compiler does own /usr/share/doc/ghc/html/libraries/doc-index-All.html (21M) which is a ghost file generated if then ghc-doc-index cronjob is installed.
(ghc-ghc-devel's doc is the largest: 62M)
I guess you're really suggesting that Haskell libraries use subpackages for their docs. That is quite a big packaging structural change but maybe it is worth doing for F22. The downside to that is that docs of deps are used when generating lib docs so we need to add BRs for all the docs packages too across 280+ packages so it is not a completely trivial change but it is possible.