[Bug 1069048] minor spec file improvements: for README and symlink

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 25 02:37:10 UTC 2014


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



--- Comment #3 from Jens Petersen <petersen at redhat.com> ---
> Would it make more sense to have ShellCheck strictly depend on
> ghc-ShellCheck ?

Yes, but it should be done at the .cabal level
not explicitly in the spec file.

Pandoc does this for example and so does Agda:
it is particularly desirable large packages.

> It seems that the main package doesn't link to its shared library but embeds
> it statically instead. That shouldn't happen according to the main
> guidelines, but it doesn't seem to be a problem according to the Haskell
> guidelines (no Requires tag in the `Library and Binary' template).

Right - it needs some massaging of the .cabal file, etc.
It should not be very hard but one might need to experiment a bit.
In theory adding "depends: ShellCheck to the executable section
ought to be enough but in practice it doesn't seem to be.
Either way I would be curious to see the final changes that make it work
since I would also like to know how to do it, but if you
run into difficulties I can also try to help with it.
Looking at the other examples hopefully we can work it out.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=f9zIvMCdlI&a=cc_unsubscribe


More information about the haskell-devel mailing list