diff --git a/openjdk-latest.spec b/openjdk-latest.spec index 9b81cbbfc19a74472de18e5866a1c4f0f6d14282..e3a521745abe17fdb8c7ef636b07e29d784cc5a1 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -72,7 +72,7 @@ %global is_system_jdk 0 %global aarch64 aarch64 arm64 armv8 -%global jit_arches x86_64 %{aarch64} +%global jit_arches x86_64 %{aarch64} riscv64 %global aot_arches x86_64 %{aarch64} # Set of architectures for which java has short vector math library (libsvml.so) @@ -159,7 +159,7 @@ # buildjdkver is usually same as %%{majorver}, # but in time of bootstrap of next jdk, it is majorver-1, # and this it is better to change it here, on single place -%global buildjdkver 19 +%global buildjdkver 20 # We don't add any LTS designator for STS packages (Fedora and EPEL). # We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined. %if 0%{?rhel} && !0%{?epel} @@ -176,7 +176,7 @@ %global top_level_dir_name %{origin} %global minorver 0 %global buildver 9 -%global rpmrelease 0 +%global rpmrelease 1 # priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk %global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} ) @@ -1318,6 +1318,8 @@ if [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "aarch64" ]; then tar -xf %{SOURCE1} BOOTJDKPATH=$PWD/jdk-20.0.2+9 +elif [ "$ARCH" = "riscv64" ]; then + : else echo " Failed to set BOOTJDKPATH " exit 18 @@ -1766,6 +1768,9 @@ cjc.mainProgram(arg) %changelog +* Fri Sep 05 2023 misaka00251 - 1:20.0.2.9-1-rolling +- Add riscv64 to jit_arches + * Thu May 4 2023 wanghao - 1:20.0.1.9-0-rolling - Update to jdk-20.0.1+9 - remove pr3183-rh1340845-support_system_crypto_policy.patch