From 08334d8ce11bf8e9f3cfa5fa6749f3ff83eaaf2f Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Sat, 9 Jul 2022 01:10:32 +0100 Subject: [PATCH] Explicitly require crypto-policies during build and runtime for system security properties --- java-latest-openjdk.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/java-latest-openjdk.spec b/java-latest-openjdk.spec index b2fe136..109e148 100644 --- a/java-latest-openjdk.spec +++ b/java-latest-openjdk.spec @@ -368,7 +368,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 2 -%global rpmrelease 4 +%global rpmrelease 5 # 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 # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -1168,6 +1168,8 @@ OrderWithRequires: copy-jdk-configs %endif # for printing support Requires: cups-libs +# for system security properties +Requires: crypto-policies # for FIPS PKCS11 provider Requires: nss # Post requires alternatives to install tool alternatives @@ -1431,6 +1433,8 @@ BuildRequires: libXt-devel BuildRequires: libXtst-devel # Requirement for setting up nss.cfg and nss.fips.cfg BuildRequires: nss-devel +# Requirement for system security property test +BuildRequires: crypto-policies BuildRequires: pkgconfig BuildRequires: xorg-x11-proto-devel BuildRequires: zip @@ -2635,7 +2639,10 @@ cjc.mainProgram(args) %endif %changelog -* Wed Jul 13 2022 Jiri Vanek - 1:18.0.1.0.10-4.rolling. +* Sat Jul 09 2022 Andrew Hughes - 1:18.0.1.1.2-5.rolling +- Explicitly require crypto-policies during build and runtime for system security properties + +* Wed Jul 13 2022 Jiri Vanek - 1:18.0.1.1.2-4.rolling. - Replaced binaries and .so files with bash-stubs on i686 in preparation of the removal on that architecture: - https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs