From 0bd590b0e1d072553521a00f2386d7ff78a4b20e Mon Sep 17 00:00:00 2001 From: herengui Date: Thu, 9 Mar 2023 14:22:17 +0800 Subject: [PATCH] fix the issue of %pretrans reporting error. Signed-off-by: herengui --- openjdk-1.8.0.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index 3f11162..f836f3c 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -916,7 +916,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever}.%{buildver} -Release: 2 +Release: 3 # 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 @@ -2191,8 +2191,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 @@ -2330,6 +2330,9 @@ cjc.mainProgram(arg) %endif %changelog +* Thu Mar 09 2023 herengui - 1:1.8.0.362.b09-3 +- fix the issue of %%pretrans reporting error. + * Wed Feb 15 2023 kuenking111 - 1:1.8.0.362-b09.2 - add Add-CMS-s-trim-test-cases-and-fix-failure.patch - add Disable-cds-on-x86-32.patch -- Gitee