[2018-12-19 20:49] Chris Lamb <[email protected]>
>
> part       text/plain                 896
> 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?

Patched directly /usr/share/lintian. It does not work for me.

Seems I missed one more issue previously. As far as I can tell,
$gfdlsections regex consider first word "texts" (after front-cover)
mandatory.

Reply via email to