From e1a7b2181c9a4b8b931a7801a3e770c91f286e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Wed, 25 Apr 2012 21:52:36 +0200 Subject: [PATCH] Fixed sysv2systemd upgrade from f15 / f16 --- postfix.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/postfix.spec b/postfix.spec index c54908d..6b8c265 100644 --- a/postfix.spec +++ b/postfix.spec @@ -7,7 +7,7 @@ %bcond_without ipv6 %bcond_without pflogsumm -%global sysv2systemdnvr 2.8.7-2 +%global sysv2systemdnvr 2.8.10-2 # hardened build if not overrided %{!?_hardened_build:%global _hardened_build 1} @@ -38,7 +38,7 @@ Name: postfix Summary: Postfix Mail Transport Agent Version: 2.9.2 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 2 Group: System Environment/Daemons URL: http://www.postfix.org @@ -387,7 +387,7 @@ fi %triggerun -- postfix < %{sysv2systemdnvr} %{_bindir}/systemd-sysv-convert --save postfix >/dev/null 2>&1 ||: -/bin/systemctl enable postfix.service >/dev/null 2>&1 +%{_bindir}/systemd-sysv-convert --apply postfix >/dev/null 2>&1 ||: /sbin/chkconfig --del postfix >/dev/null 2>&1 || : /bin/systemctl try-restart postfix.service >/dev/null 2>&1 || : @@ -525,6 +525,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Wed Apr 25 2012 Jaroslav Škarvada - 2:2.9.2-2 +- Fixed sysv2systemd upgrade from f15 / f16 + * Wed Apr 25 2012 Jaroslav Škarvada - 2:2.9.2-1 - New version Resolves: rhbz#816139