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.
This commit is contained in:
Robert Relyea 2024-07-12 13:12:01 -07:00
parent 5fabc5f7a8
commit 79d26c334d

View File

@ -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 <rrelyea@redhat.com> - 3.101.0-2
- Fix spec to deal with annocheck failures
* Tue Jun 25 2024 Bob Relyea <rrelyea@redhat.com> - 3.101.0-1
- Update NSS to 3.101.0
- Pick up RHEL FIPS and other patches