From a77594e5884a3c9de26f0725f8e86e02a8b958f5 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Wed, 20 Sep 2023 18:20:07 +0200 Subject: [PATCH] adapted to new path in sources --- java-latest-openjdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/java-latest-openjdk.spec b/java-latest-openjdk.spec index 1e92fc0..e54fd91 100644 --- a/java-latest-openjdk.spec +++ b/java-latest-openjdk.spec @@ -321,7 +321,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 35 -%global rpmrelease 1 +%global rpmrelease 2 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -1965,7 +1965,7 @@ mkdir -p $RPM_BUILD_ROOT%{_jvmdir} # Install icons for s in 16 24 32 48 ; do install -D -p -m 644 \ - ${src_image}/openjdk/src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \ + ${src_image}/%{vcstag}/src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}-%{origin}.png done @@ -2391,6 +2391,9 @@ cjc.mainProgram(args) %endif %changelog +* Tue Sep 19 2023 Jiri Vanek - 1:21.0.0.0.35-2.rolling +- adapted to new path in sources + * Tue Aug 29 2023 Jiri Vanek - 1:21.0.0.0.35-1.rolling - updated to jdk 21