From 3f12dfea6c25e8be62cb9c7bad2921a428bd2ce8 Mon Sep 17 00:00:00 2001 From: "jiahua.yu" Date: Wed, 13 Mar 2024 11:02:10 +0800 Subject: [PATCH] init support for arch ppc64le --- openjdk-11.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/openjdk-11.spec b/openjdk-11.spec index 4a05f17..ac6abbb 100644 --- a/openjdk-11.spec +++ b/openjdk-11.spec @@ -55,6 +55,7 @@ %global aarch64 aarch64 %global riscv64 riscv64 +%global ppc64le ppc64le # By default, we build a debug build during main build on JIT architectures %if %{with slowdebug} @@ -116,6 +117,9 @@ %ifarch %{riscv64} %global archinstall riscv64 %endif +%ifarch %{ppc64le} +%global archinstall ppc64le +%endif %global with_systemtap 1 @@ -753,7 +757,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{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 @@ -1139,7 +1143,7 @@ fi pushd %{top_level_dir_name} # OpenJDK patches -%ifnarch loongarch64 +%ifnarch loongarch64 ppc64le %ifarch riscv64 %patch2000 -p1 %else @@ -1298,7 +1302,7 @@ bash ../configure \ --with-version-build=%{buildver} \ --with-version-pre="" \ --with-version-opt="" \ -%ifnarch loongarch64 +%ifnarch loongarch64 ppc64le --with-vendor-version-string="%{vendor_version_string}" \ --with-vendor-name="Bisheng" \ %endif @@ -1721,6 +1725,9 @@ cjc.mainProgram(arg) %changelog +* Wed Mar 13 2024 jiahua.yu - 1:11.0.22.7-3 +- init support for arch ppc64le + * Mon Feb 26 2024 misaka00251 - 1:11.0.22.7-2 - Fix build on riscv64 -- Gitee