[Bug 629145] Review Request: ghc-cmdargs - Haskell command argument parsing

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 13 06:43:44 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

--- Comment #9 from Jens Petersen <petersen at redhat.com> 2010-09-13 02:43:43 EDT ---
(In reply to comment #8)
> ? %defattr line
>   No way to tell as there is no %file manifest

You can check the filelists %{name}*.files in
the build directory.  They are automatically generated
by macros in macros.ghc.

> - static libraries should be in -static
>   There is a .a file contained but its not clear from the haskell package
> guidelines regarding this

Agreed this is unfortunate but currently ghc assumes and requires
the presence of the static library so they can't be subpackaged yet.
I hope this will change in the future.  (Actually ghc's shared
library support is still considered somewhat experimental
but seems to work well - I don't know if any other distro which
has actually adopted them yet though.)  The Haskell Guidelines
should state this clearly, though they were written but ghc-6.12
which introduced shared lib support on linux.

http://fedoraproject.org/wiki/Packaging/Haskell#Static_vs._Dynamic_Linking

Yes, the packaging guidelines need a refresh too.

Running cabal2spec-diff on the tarball should show you
how the package differences from the standard Haskell templates.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list