diff --git a/openjdk-17.spec b/openjdk-17.spec index 3bd3bc83c138ac2ff0126b456ff952d5ac0bc332..2cece44b48d9d7e1458b966cf9059ad128b9fefb 100644 --- a/openjdk-17.spec +++ b/openjdk-17.spec @@ -885,7 +885,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release} Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: 1 +Release: 2 # 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 @@ -1335,6 +1335,9 @@ bash ../configure \ %endif %ifarch %{ppc64le} --with-jobs=1 \ +%endif +%if "%toolchain" == "clang" + --with-toolchain-type=clang \ %endif --with-version-build=%{buildver} \ --with-version-pre=\"${EA_DESIGNATOR}\" \ @@ -1771,6 +1774,9 @@ cjc.mainProgram(arg) %changelog +* Wed Sep 20 2023 yuzengqi - 1:17.0.7.7-0.2 +- Update spec to fix clang build error. + * Tue May 30 2023 wanghao_hw - 1:17.0.7.7-0.1 - add 8280872-Reorder-code-cache-segments-to-improv.patch