These problems were reported against the packager that Johan Vos backported for OpenJDK 11.
We need to determine if same problems occur in jpackager and if so fix them.
1) The control file for debian package does not set correct description
--name test
--description This is a Test Application
/tmp/jdk.packager607148779833718376/linux/control
Package: test
Description: test
The RPM gets it correctly
Summary : test
Description :
This is a Test Application
2)
Category is not set on either DEB or RPM
--category
Category or group of the application.
--category "Some/Category/Application"
Group: Unspecified
Section: unknown
3)
The jpackager command line should have the flag --release in addition to
--version. The only way to set a different release than "1" is to supply a
custom spec file for RPM and control file for DEB.
package/linux/test.spec
Version: 1.0.0
Release: RC1
package/linux/control
Version: 1.0.0-RC1