From 652b406dacf042feef66ae9ca3e7f668f5fd9542 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 9 Jun 2011 20:41:45 +0200 Subject: [PATCH] fixed Requires(preun) vs. Requires(postun) inconsistency --- clamav.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clamav.spec b/clamav.spec index 244d65c..5a15c76 100644 --- a/clamav.spec +++ b/clamav.spec @@ -178,7 +178,7 @@ Provides: init(clamav-scanner) = upstart Requires: clamav-scanner = %version-%release Requires(pre): /etc/init Requires(post): /usr/bin/killall -Requires(postun): /sbin/initctl +Requires(preun): /sbin/initctl %{?noarch} %package scanner-systemd @@ -244,7 +244,7 @@ Provides: init(clamav-milter) = upstart Requires: clamav-milter = %version-%release Requires(pre): /etc/init Requires(post): /usr/bin/killall -Requires(postun): /sbin/initctl +Requires(preun): /sbin/initctl %{?noarch} %package milter-systemd @@ -803,6 +803,7 @@ test "$1" != "0" || /sbin/initctl -q stop clamav-milter || : %changelog * Thu Jun 9 2011 Enrico Scholz - 0.97.1-1600 - updated to 0.97.1 +- fixed Requires(preun) vs. Requires(postun) inconsistency * Sat Apr 23 2011 Enrico Scholz - 0.97-1601 - fixed tmpfiles.d syntax (#696812)