Haskell packaging questions

Andrew McNabb amcnabb at mcnabbs.org
Fri Jan 28 19:08:09 UTC 2011


I recently came across an issue in a package review where I would
appreciate guidance.  In particular, I have never dealt with Haskell
packages before, and I haven't been able to find enough detail in the
Haskell Packaging Guidelines to answer my questions:

http://fedoraproject.org/wiki/Packaging/Haskell

It seems that there's a tool called cabal2spec that autogenerates spec
files for Haskell programs.  However, the spec files that it outputs are
a little unusual.

The spec file I'm reviewing has no %package sections and no %files
sections.  Instead, there is a reference to a "%{?ghc_lib_package}"
macro that implicitly defines the package and two subpackages.  The
Haskell Packaging Guidelines don't seem to describe how all of the magic
works, so I'm not quite sure what standards I'm supposed to use in my
review.  Here's a link to the package request:

https://bugzilla.redhat.com/show_bug.cgi?id=662258

It looks like other Haskell libraries are packaged in a similar way, but
it's enough different from most packages that the Package Review
Guidelines don't seem to cleanly apply.  I would appreciate advice on
how to proceed.  Thanks.

-- 
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868


More information about the devel mailing list