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

Bug#672284: lintian: False positive: no-debian-copyright when packages supply debian/$pkgname.copyright



* Russ Allbery <rra@debian.org>, 2012-05-14, 02:45:
(There seems to be a bunch of UTF-8 damage in the quoted message.)

Yes, BTS mangled my message. :(

This is correct. It's a violation of Policy 12.5: "A copy of the file which will be installed in '/usr/share/doc/<package>/copyright' should be in 'debian/copyright' in the source package."
I see. Than maybe lintian could detect this violation of the Policy and emit a separate tag for packages that ship copyright files under debian/$pkgname.copyright rather than debian/copyright?

I suspect Policy is the one at fault here, or something more complex than that. I think that Policy dictate predates the debhelper support for $pkgname.copyright.

Possibly, though this debhelper behavior is very old:

debhelper (0.53) unstable; urgency=low

  [...]
  * dh_installdocs: if a debian/package.copyright file exists, use it in
    preference to debian/copyright, so subpackages with varying copyrights
    are supported. (#16935)
  [...]

 -- Joey Hess <joeyh@debian.org>  Sat, 10 Jan 1998 11:30:12 -0500


But I always thought that we were supposed to documented license and copyright holders of all files in the _source_ package, so having copyright files that vary with binary package doesn't make sense to me.

--
Jakub Wilk



Reply to: