Bug#976681: bad-jar-name: false positive for version numbers with a tilde
Package: lintian
Version: 2.104.0
Severity: normal
Dear Lintian maintainers,
Java policy requires [0] that the package libXXX-java installs a jar named XXX[-extraname]-fullversion.jar into /usr/share/java, where extraname is optional and fullversion is the version of the jar file.
I suspect Lintian raises a false positive when there is a tilde in the version: I met this issue with
- libsis-base-java version 18.09~pre1+git20180928.45fbd31, of which jar is named sis-base-18.09~pre1+git20180928.45fbd31.jar;
- libpj-java version 0.0~20150107, of which jar is named pj-0.0~20150107.jar (I have overridden the warning);
- libjsr305-java version 0.1~+svn49, of which jar is named jsr305-0.1~+svn49.jar .
Thanks for considering and for all the work done on Lintian,
Pierre Gruet
[0] https://www.debian.org/doc/packaging-manuals/java-policy/ch02.html
Reply to: