Run annocheck as part of the build to catch issues early
Related: RHEL-58736
This commit is contained in:
parent
60990da0cc
commit
81dbcd86e8
@ -43,6 +43,7 @@ BuildRequires: texinfo
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: make
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: annobin-annocheck binutils
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the %{name} package
|
||||
@ -96,6 +97,9 @@ make check
|
||||
# try in faked FIPS mode too
|
||||
LIBGCRYPT_FORCE_FIPS_MODE=1 make check
|
||||
|
||||
PROFILE=%{?dist} annocheck --ignore-unknown --verbose --profile=${PROFILE:1} $RPM_BUILD_ROOT%{gcrylibdir}/libgcrypt.so.20.5.0
|
||||
|
||||
|
||||
# Add generation of HMAC checksums of the final stripped binaries
|
||||
%define libpath $RPM_BUILD_ROOT%{gcrylibdir}/%{gcrysoname}.?.?
|
||||
%define __spec_install_post \
|
||||
|
Loading…
Reference in New Issue
Block a user