diff --git a/openjdk-21.spec b/openjdk-21.spec index 3c1cfb8ac964b64010964880ff19b8c1345c4a9a..7478c36d4d38e29ca874881021e2a60fb88e1f36 100644 --- a/openjdk-21.spec +++ b/openjdk-21.spec @@ -897,7 +897,7 @@ Name: java-21-%{origin} Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as -Release: 4 +Release: 5 # 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 @@ -1018,11 +1018,7 @@ BuildRequires: pkgconfig BuildRequires: xorg-x11-proto-devel BuildRequires: zip BuildRequires: javapackages-filesystem -%ifarch loongarch64 BuildRequires: java-21-openjdk-devel -%else -BuildRequires: java-latest-openjdk-devel -%endif # Zero-assembler build requirement %ifnarch %{jit_arches} BuildRequires: libffi-devel @@ -1797,6 +1793,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Tue Jul 16 2024 zhaosaisai - 1:21.0.3.9-5 +- change to depend on the specific version + * Tue Jul 16 2024 songliyang - 1:21.0.3.9-4 - null the arg to solve openjdk-headless install error