From 8c0a321ec2b037c975cb4925692c30775d4703d9 Mon Sep 17 00:00:00 2001 From: hedapeng Date: Tue, 25 Apr 2023 09:53:37 +0000 Subject: [PATCH] fix the issue of %pretrans reporting error. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 何大鹏 --- openjdk-17.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openjdk-17.spec b/openjdk-17.spec index a75897d..5c14298 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -885,7 +885,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 0 +Release: 1 # 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 @@ -1637,8 +1637,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 @@ -1764,6 +1764,9 @@ cjc.mainProgram(arg) %changelog +* Tue Apr 25 2023 hedapeng - 1:17.0.6.9-1 +- fix the issue of %%pretrans reporting error. + * Sat Jan 28 2023 kuenking111 - 1:17.0.6.9-0.rolling - modified add-version-txt.patch - del 8290705_fix_StringConcat_validate_mem_flow_asserts_with_unexpected_userStoreI.patch -- Gitee