jpackage rpm bug

Sverre Moe sverre.moe at gmail.com
Thu Oct 1 11:08:19 UTC 2020


I have just checked that it also happens with JDK 15.

I will file a bug report on this. I could not find an existing OpenJDK bug
for jpackage that described this problem.

/Sverre

tir. 29. sep. 2020 kl. 20:41 skrev Sverre Moe <sverre.moe at gmail.com>:

> I think I found a bug in jpackage.
>
> When using a resource directory with a desktop-file and a spec-file.
> The resulting RPM file will contain the desktop file, but its filename is
> wrong. It is adding the application name twice.
>
> Instead of "test-application.desktop" the RPM contains
> "test-application-test-application.desktop".
>
> I created a test application project on GitHub to demonstrate this problem.
> https://github.com/DJViking/test-application
>
> Running the gradle task createPackage will create an RPM with the desktop
> file.
> ~> export JAVA_HOME=/usr/java/jdk-14
> ~> ./gradlew createPackage
>
> /Sverre
>
>
>


More information about the core-libs-dev mailing list