[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916095: lintian: False positive: license-problem-gfdl-invariants



Dmitry Bogatov wrote:

> 	with no invariant sections, no Front-Cover and no Back-Cover texts
> 	with no Invariant Sections, no Front-Cover and    Back-Cover texts

Neat. Can you try:

  --- a/checks/cruft.pm
  +++ b/checks/cruft.pm
  @@ -1379,7 +1379,7 @@ sub _check_gfdl_license_problem {
           $gfdlsections =~ m/\A
                             with [ ] no [ ] invariant [ ] sections[ ]?,
                             [ ]? no [ ] front(?:[ ]?-[ ]?|[ ])cover [ ] texts[ ]?,?
  -                          [ ]? and [ ] no [ ] back(?:[ ]?-?[ ]?|[ ])cover [ ] texts
  +                          [ ]? and [ ](?: no [ ])? back(?:[ ]?-?[ ]?|[ ])cover [ ] texts
                             \Z/xso
       ) {
           return 0;

… at let me know if that works for you here?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: