diff --git a/postfix.spec b/postfix.spec index bbc7a4d..cf3248a 100644 --- a/postfix.spec +++ b/postfix.spec @@ -49,7 +49,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.5.9 -Release: 11%{?dist} +Release: 12%{?dist} Epoch: 2 URL: http://www.postfix.org License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -517,7 +517,7 @@ if [ ! -f %{sslcert} ]; then req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \ -subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}" # openssl-3.0 and fallback for backward compatibility with openssl < 3.0 - $req_cmd -noenc -copy_extension none 2>/dev/null || $req_cmd + $req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd chmod 644 %{sslcert} fi @@ -790,6 +790,10 @@ fi %endif %changelog +* Tue Aug 3 2021 Jaroslav Škarvada - 2:3.5.9-12 +- Fixed openssl req command parameter + Related: rhbz#1985918 + * Tue Aug 3 2021 Jaroslav Škarvada - 2:3.5.9-11 - Fixed FTBFS with glibc-2.34 Resolves: rhbz#1984045