From f269ddf8605d43c0060a1b3ae3005ab2ff15bbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 3 Dec 2024 21:33:30 +0100 Subject: [PATCH] Fix digest calculation of sha256 Add similar fix to rhbz#1962010. Resolves: RHEL-20391 --- ldns.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ldns.spec b/ldns.spec index 7288623..a286824 100644 --- a/ldns.spec +++ b/ldns.spec @@ -39,7 +39,7 @@ Summary: Low-level DNS(SEC) library with API Name: ldns Version: 1.7.1 -Release: 11%{?dist} +Release: 12%{?dist} License: BSD Url: https://www.nlnetlabs.nl/%{name}/ @@ -191,8 +191,8 @@ cp -a %{pkgname}_python3 %{pkgname}_python2 %build -CFLAGS="%{optflags} -fPIC" -CXXFLAGS="%{optflags} -fPIC" +CFLAGS="%{optflags} -fPIC -fno-strict-aliasing" +CXXFLAGS="%{optflags} -fPIC -fno-strict-aliasing" LDFLAGS="$RPM_LD_FLAGS -Wl,-z,now -pie" export CFLAGS CXXFLAGS LDFLAGS @@ -359,6 +359,9 @@ rm -rf doc/man %doc doc %changelog +* Tue Dec 03 2024 Petr Menšík - 1.7.1-12 +- Fix digest calculation of sha256 (RHEL-20391) + * Wed Jul 6 2022 Joe Orton - 1.7.1-11 - rebuild (#2080206)