[Fedora-haskell-list] ghc-7.0.1 libraries subpackaged

Jens Petersen petersen at redhat.com
Thu Jan 6 02:16:19 UTC 2011


Hi,

Following on from subpackaging the large ghc API library (ghc-ghc) a year ago,
I have now succeeded in rawhide to subpackage all the libraries that ship
with ghc with changes to ghc and ghc-rpm-macros.
So there are now subpackages like ghc-base{,-devel,-prof}, etc.
This took rather more hours of my holiday time than I care to admit but
I think it should be a win in the long term, and puts ghc's libraries
on an equal footing with other our library packages in Fedora space.

http://koji.fedoraproject.org/koji/taskinfo?taskID=2702178

There is also a new ghc-devel meta-package which pulls in all ghc-*-devel
from ghc libraries and ghc-prof also becomes a meta-package.  ghc-libs is gone.

Since our cabal2spec templates pull in ghc-prof, which effectively
pulls in ghc-devel, no changes are needed at this point for
current packages, but please do report any problems.
The ghc base package only requires ghc-base-devel by default.
Note that ghc-devel and ghc-prof pull in ghc-ghc now though.

I may backport some of these changes later to F14 and perhaps F13.
Otherwise we have to wait about a year before we can make
corresponding changes to  cabal2spec, since I am trying hard now
to keep cabal2spec the same across all current releases
with ghc-rpm-macros compatibility.

Thanks, Jens


More information about the haskell-devel mailing list