From 79d26c334d0c71a5bcda48bb2fc51a12ee8423eb Mon Sep 17 00:00:00 2001 From: Robert Relyea Date: Fri, 12 Jul 2024 13:12:01 -0700 Subject: [PATCH] Resolves: RHEL-33511 Fix the annocheck warnings. We aren't compiling with LTO. Looks like there are new warnings, but the are unknown data in the .info which is supposed to be ignored, but appearantly isn't. --- nss.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nss.spec b/nss.spec index 8875897..7de1e7b 100644 --- a/nss.spec +++ b/nss.spec @@ -3,7 +3,7 @@ # NOTE: To avoid NVR clashes of nspr* packages: # - reset %%{nspr_release} to 1, when updating %%{nspr_version} # - increment %%{nspr_version}, when updating the NSS part only -%global baserelease 1 +%global baserelease 2 %global nss_release %baserelease # use "%%global nspr_release %%[%%baserelease+n]" to handle offsets when # release number between nss and nspr are different. @@ -390,7 +390,7 @@ popd # Build NSS # # This package fails its testsuite with LTO. Disable LTO for now -#%global _lto_cflags %{nil} +#%%global _lto_cflags %%{nil} #export FREEBL_NO_DEPEND=1 @@ -428,7 +428,7 @@ export XCFLAGS="$XCFLAGS -Wno-array-parameter" export LDFLAGS=$RPM_LD_FLAGS -export DSO_LDOPTS=$RPM_LD_FLAGS +export DSO_LDFLAGS=$RPM_LD_FLAGS export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 @@ -1134,6 +1134,9 @@ update-crypto-policies &> /dev/null || : %changelog +* Fri Jul 12 2024 Bob Relyea - 3.101.0-2 +- Fix spec to deal with annocheck failures + * Tue Jun 25 2024 Bob Relyea - 3.101.0-1 - Update NSS to 3.101.0 - Pick up RHEL FIPS and other patches