From 13e6f7f81f19055ab803ad6bc9c47005f01185ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Fri, 19 Feb 2021 18:10:43 +0100 Subject: [PATCH] Fixed sysvinit conditionals for RHEL Resolves: rhbz#1930709 --- postfix.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/postfix.spec b/postfix.spec index 794e4e2..2cafe2b 100644 --- a/postfix.spec +++ b/postfix.spec @@ -49,7 +49,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 3.5.9 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 2 URL: http://www.postfix.org License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+) @@ -118,7 +118,7 @@ BuildRequires: gcc, m4, findutils %description Postfix is a Mail Transport Agent (MTA). -%if 0%{?fedora} < 23 +%if 0%{?fedora} < 23 && 0%{?rhel} < 9 %package sysvinit Summary: SysV initscript for postfix BuildArch: noarch @@ -535,7 +535,7 @@ exit 0 %postun %systemd_postun_with_restart %{name}.service -%if 0%{?fedora} < 23 +%if 0%{?fedora} < 23 && 0%{?rhel} < 9 %post sysvinit /sbin/chkconfig --add postfix >/dev/null 2>&1 ||: @@ -698,7 +698,7 @@ fi %ghost %attr(0644, root, root) %{_var}/lib/misc/postfix.aliasesdb-stamp -%if 0%{?fedora} < 23 +%if 0%{?fedora} < 23 && 0%{?rhel} < 9 %files sysvinit %{_initrddir}/postfix %endif @@ -776,6 +776,10 @@ fi %endif %changelog +* Fri Feb 19 2021 Jaroslav Škarvada - 2:3.5.9-4 +- Fixed sysvinit conditionals for RHEL + Resolves: rhbz#1930709 + * Mon Feb 08 2021 Pavel Raiskup - 2:3.5.9-3 - rebuild for libpq ABI fix rhbz#1908268