From 247181442b46afbaaa891dc1de1b027e77a37076 Mon Sep 17 00:00:00 2001 From: herengui Date: Thu, 9 Mar 2023 15:18:58 +0800 Subject: [PATCH] fix the issue of %pretrans reporting error. Signed-off-by: herengui --- openjdk-11.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openjdk-11.spec b/openjdk-11.spec index 1096232..3ef4f1f 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -740,7 +740,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 1 +Release: 2 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -1552,8 +1552,8 @@ else end end -- run content of included file with fake args -cjc = require "copy_jdk_configs.lua" arg = {"--currentjvm", "%{uniquesuffix %{nil}}", "--jvmdir", "%{_jvmdir %{nil}}", "--origname", "%{name}", "--origjavaver", "%{javaver}", "--arch", "%{_arch}", "--temp", "%{rpm_state_dir}/%{name}.%{_arch}"} +cjc = require "copy_jdk_configs.lua" cjc.mainProgram(arg) %post @@ -1679,6 +1679,9 @@ cjc.mainProgram(arg) %changelog +* Thu Mar 09 2023 herengui - 1:11.0.18.10-2 +- fix the issue of %%pretrans reporting error. + * Thu Jan 5 2023 Henry_Yang - 1:11.0.18.10-1 - add 8222289-Overhaul-logic-for-reading-writing-constant-pool-entries.patch -- Gitee