When packaging an upstream binary for Debian, I get a lintian error as follows:
E: redwax-tool: copyright-file-contains-full-apache-2-license This is indeed true, the upstream package provides the full text of the Apache license, as it should.
According to https://lintian.debian.org/tags/copyright-file-contains-full-apache-2-license.html we get the following terse explanation:
The copyright file /usr/share/doc/pkg/copyright contains the complete text of the Apache 2.0 license. It should refer to the file /usr/share/common-licenses/Apache-2.0 instead. What is missing are instructions how to achieve this in the debian directory.
Further instructions at https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile say "This file must neither be compressed nor be a symbolic link".
The debian/copyright file generated by the debmake tooling ends with the following sensible looking text:
#---------------------------------------------------------------------------- # Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following # license/copyright files. #---------------------------------------------------------------------------- # License file: COPYING Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ . TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION . [snip] Can anyone provide an example or some guidance on concrete packaging steps to take to remove this error.