Bug#815751: license-reconcile: Incorrectly parses copyright years across lines

Petter Reinholdtsen pere at hungry.com
Wed Feb 24 09:42:52 UTC 2016


Package: license-reconcile
Version: 0.9

I get several false positive from license-reconcile when using it to
check the copyright file of the future zfs package.  One of them look
like this:

  Copyright mismatch: File config/depcomp: For copyright holder 'Free
    Software Foundation, Inc.' the years
    1999-2000,2003-2007,2009,20102011 cannot be fitted into
    1996-2012. at /usr/share/perl5/Debian/LicenseReconcile/App.pm line
    222, <GEN0> line 3.

The debian/copyright entry look like this:

  Files: config/*
  Copyright: 1996-2012, Free Software Foundation, Inc.
  License: GPL-2+ with autoconf exception

And the header of the file in question look like this:


  # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
  # 2011 Free Software Foundation, Inc.

I guess the parser need to be extended to not remove the comma from the
list when the list is spread across several lines.

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-perl-maintainers mailing list