From eaa6e98f1f7cc5620d7585a20e2426a262b3b184 Mon Sep 17 00:00:00 2001 From: dongbohe Date: Wed, 13 Sep 2023 14:48:34 +0800 Subject: [PATCH] =?UTF-8?q?I7XWXQ:=E3=80=9022.03=20LTS=20SP1=20update20230?= =?UTF-8?q?830=E3=80=91=E3=80=90arm\x86=E3=80=91java-1.8.0-openjdk?= =?UTF-8?q?=E5=AD=90=E5=8C=85=E5=85=A8=E9=87=8F=E5=8D=87=E7=BA=A7=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openjdk-1.8.0.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index b0e7be4..04587c1 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -829,7 +829,7 @@ Requires: nss-softokn%{?_isa} %{NSSSOFTOKN_BUILDTIME_VERSION} # tool to copy jdk's configs - should be Recommends only, but then only dnf/yum enforce it, # not rpm transaction and so no configs are persisted when pure rpm -u is run. It may be # considered as regression -Requires: copy-jdk-configs >= 4.0 +Requires: copy-jdk-configs >= 3.3 OrderWithRequires: copy-jdk-configs # for printing support Requires: cups-libs @@ -2340,10 +2340,8 @@ else return 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.mainProgram(arg) +require "copy_jdk_configs.lua" %post %{post_script %{nil}} -- Gitee