From a8382890668c5ffb999c781b725c9e95668d5b1c Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 4 Nov 2021 20:50:22 +0100 Subject: [PATCH] Replaced hardcoded 11 by featurever where apporpriate --- java-11-openjdk.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-11-openjdk.spec b/java-11-openjdk.spec index 5912bf3..30d87bf 100644 --- a/java-11-openjdk.spec +++ b/java-11-openjdk.spec @@ -394,8 +394,8 @@ %global jdkimage jdk %global static_libs_image static-libs # output dir stub -%define buildoutputdir() %{expand:build/jdk11.build%{?1}} -%define installoutputdir() %{expand:install/jdk11.install%{?1}} +%define buildoutputdir() %{expand:build/jdk%{featurever}.build%{?1}} +%define installoutputdir() %{expand:install/jdk%{featurever}.install%{?1}} # we can copy the javadoc to not arched dir, or make it not noarch %define uniquejavadocdir() %{expand:%{fullversion}.%{_arch}%{?1}} # main id and dir of this jdk