Hi Andrew,<br><br>Please have a look at the review template here  <a href="http://narasim.fedorapeople.org/haskell_review_template.txt">[1]</a> . Some items from the Package review guidelines which do not apply are marked [NA]. <br>
<br>The cabal2spec program generates the template for the .spec file from the .cabal file. Then the packager modifies certain values and thats about it. The macros used in the template come from /etc/rpm/macros.ghc. There are cases were there is a need to add some files not picked by the macros and that has been done. Eg  <a href="http://petersen.fedorapeople.org/ghc-gtk/ghc-gtk.spec">[2]</a><br>
<br> For haskell packaging/review related queries ,  you could also mail to  <span class="gI"><a href="mailto:fedora-haskell-list@redhat.com">fedora-haskell-list@redhat.com</a>  </span>or ask at #fedora-haskell .<br><br>-Thanks<br>
<br><div class="gmail_quote">On Sat, Jan 29, 2011 at 12:38 AM, Andrew McNabb <span dir="ltr">&lt;<a href="mailto:amcnabb@mcnabbs.org" target="_blank">amcnabb@mcnabbs.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I recently came across an issue in a package review where I would<br>
appreciate guidance.  In particular, I have never dealt with Haskell<br>
packages before, and I haven&#39;t been able to find enough detail in the<br>
Haskell Packaging Guidelines to answer my questions:<br>
<br>
<a href="http://fedoraproject.org/wiki/Packaging/Haskell" target="_blank">http://fedoraproject.org/wiki/Packaging/Haskell</a><br>
<br>
It seems that there&#39;s a tool called cabal2spec that autogenerates spec<br>
files for Haskell programs.  However, the spec files that it outputs are<br>
a little unusual.<br>
<br>
The spec file I&#39;m reviewing has no %package sections and no %files<br>
sections.  Instead, there is a reference to a &quot;%{?ghc_lib_package}&quot;<br>
macro that implicitly defines the package and two subpackages.  The<br>
Haskell Packaging Guidelines don&#39;t seem to describe how all of the magic<br>
works, so I&#39;m not quite sure what standards I&#39;m supposed to use in my<br>
review.  Here&#39;s a link to the package request:<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=662258" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=662258</a><br>
<br>
It looks like other Haskell libraries are packaged in a similar way, but<br>
it&#39;s enough different from most packages that the Package Review<br>
Guidelines don&#39;t seem to cleanly apply.  I would appreciate advice on<br>
how to proceed.  Thanks.<br>
<br>
--<br>
Andrew McNabb<br>
<a href="http://www.mcnabbs.org/andrew/" target="_blank">http://www.mcnabbs.org/andrew/</a><br>
PGP Fingerprint: 8A17 B57C 6879 1863 DE55  8012 AB4D 6098 8826 6868<br>
<font color="#888888">--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org" target="_blank">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>Lakshmi Narasimhan T V<br>