On Thu, 29 May 2014 00:13:55 +0200 Joachim Breitner <nomeata@debian.org> wrote: > Hi, > > thanks for working on haskell-devscripts. > > Could you try to separate your changes into sepearate patches so that > they can be easlier reviewed? Darcs makes that really easy, just run > "darcs record" and select what you want in one patch, and repeat. I will do that in the future. Thanks for the hint. > > > Am Mittwoch, den 28.05.2014, 21:50 +0000 schrieb Sven Bartscher: > > diff -rN -u old-haskell-devscripts/dh_haskell_depends new-haskell-devscripts/dh_haskell_depends > > --- old-haskell-devscripts/dh_haskell_depends 2014-05-28 21:50:10.860767989 +0000 > > +++ new-haskell-devscripts/dh_haskell_depends 2014-05-28 21:50:10.868767989 +0000 > > @@ -148,6 +148,7 @@ > > esac > > > > echo "haskell:Extra-Depends=`cat debian/extra-depends`" >> $sfile.tmp > > + echo "haskell:ghc-version=`ghc --numeric-version`" >> $sfile.tmp > > > > mv $sfile.tmp $sfile > > done > > Is that the best solution? I was expecting a substvar that resolves to > something like > ghc (>= 7.6.3), ghc (<< 7.6.3+) > or something else that you can use in the "Depends" line in > debian/control directly. > > Also it might be unreliable to use ghc --numeric-version in the presence > of GHC snapshots, preleases and what not. I suggest to use the upstream > version of the actual Debian package here. I will have a look at it tomorrow. Don't wonder about the recent uploaded patches. I didn't see your mail while working. I will (once again) set the changelog back to UNRELEASED, until I looked at this.
Attachment:
signature.asc
Description: PGP signature