From 81d601383ebf36abd786a7953916517c32a63720 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 31 Mar 2022 09:32:37 +0200 Subject: [PATCH] Use only the first component of VERSION from /etc/os-release Resolves: #2070249 Signed-off-by: Daiki Ueno --- gnutls.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnutls.spec b/gnutls.spec index 959127c..9b6ade6 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -13,7 +13,7 @@ print(string.sub(hash, 0, 16)) } Version: 3.7.3 -Release: 9%{?dist} +Release: 10%{?dist} Patch1: gnutls-3.6.7-no-now-guile.patch Patch2: gnutls-3.2.7-rpath.patch Patch3: gnutls-3.7.2-enable-intel-cet.patch @@ -213,7 +213,7 @@ export GUILD %if %{with fips} eval $(sed -n 's/^\(\(NAME\|VERSION_ID\)=.*\)/OS_\1/p' /etc/os-release) -export FIPS_MODULE_NAME="$OS_NAME $OS_VERSION_ID %name" +export FIPS_MODULE_NAME="$OS_NAME ${OS_VERSION_ID%%.*} %name" %endif %configure \ @@ -343,6 +343,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null %endif %changelog +* Thu Mar 31 2022 Daiki Ueno - 3.7.3-10 +- Use only the first component of VERSION from /etc/os-release (#2070249) + * Fri Feb 25 2022 Daiki Ueno - 3.7.3-9 - Stop using typeof keyword for tss2 function prototypes (#2057490) - Ensure allowlist API is called before priority string construction (#1975421)