diff --git a/openjdk-11.spec b/openjdk-11.spec index 4a05f178e6438c085a7b630acb2c00b5c6c00314..ac6abbb74d1277a7f5c609a60a7f4d10dabb6b05 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