On Thursday 25,June,2009 06:52 PM, Erik de Castro Lopo wrote:
> Chow Loong Jin wrote:
> 
>> You could, but I am not aware of any lintian tag specifying the version
>> of the package in it. Could you post the output of lintian exactly?
> 
> Sorry, I think you misunderstood. Lintian complains about the file:
> 
>     
> usr/lib/haskell-packages/ghc6/lib/Cabal-1.6.0.3/ghc-6.10.3/Distribution/License.hi
> 
> The hand generated lintian overrides file contains this:
> 
>     libghc6-cabal-dev binary: extra-license-file 
> usr/lib/haskell-packages/ghc6/lib/Cabal-1.6.0.3/ghc-6.10.3/Distribution/License.hi
> 
> However, every time the compiler version changes (6.10.3 above) or the
> package version number changes (1.6.0.3 above) I need to hand edit the
> overrides file.
> 
> Hence, I'd like to autogenerate this file. I'm using CDBS, so the normal
> debian/rules solutions don't work.
> 
> Erik
I see. In that case, you can generate the pkg.lintian-overrides file in
any of the CDBS extension rules before dh_lintian is called. dh_lintian
is called in binary-install/<pkg>. So just stick it into any rule before
that.
-- 
Regards,
Chow Loong Jin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to