From 15516bff0d8af58f2c2154f9b68938668cc35737 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Sat, 31 Dec 2022 23:40:02 +0900 Subject: [PATCH] Backport upstream fix for uname -r detection with kernel 6.x --- postfix.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/postfix.spec b/postfix.spec index 616ed66..26086e3 100644 --- a/postfix.spec +++ b/postfix.spec @@ -49,7 +49,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.7.3 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 URL: http://www.postfix.org License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -254,6 +254,10 @@ popd %patch12 -p1 -b .whitespace-name-fix %patch13 -p1 -b .pflogsumm-1.1.5-syslog-name-underscore-fix +# Backport 3.8-20221006 fix for uname -r detection +sed -i makedefs -e '\@Linux\.@s|345|3456|' +sed -i src/util/sys_defs.h -e 's@defined(LINUX5)@defined(LINUX5) || defined(LINUX6)@' + for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS; do iconv -f iso8859-1 -t utf8 -o ${f}{_,} && touch -r ${f}{,_} && mv -f ${f}{_,} @@ -802,6 +806,9 @@ fi %endif %changelog +* Sat Dec 31 2022 Mamoru TASAKA - 2:3.7.3-3 +- Backport upstream fix for uname -r detection with kernel 6.x + * Sat Dec 31 2022 Pete Walter - 2:3.7.3-2 - Rebuild for ICU 72