[packages/clamav] - use same macro to enable all systemd services

baggins baggins at pld-linux.org
Tue Jan 4 21:23:29 CET 2022


commit c9909b3e86e24be8b8013573371a796ed3e5375b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 4 21:23:06 2022 +0100

    - use same macro to enable all systemd services

 clamav.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index 03b4f2c..6e660e3 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -357,9 +357,7 @@ EOF
 touch /var/lock/subsys/clamd
 %service -q clamd restart
 
-%systemd_trigger clamd.service
-
-%systemd_service_enable cronjob-clamav.timer
+%systemd_trigger clamd.service cronjob-clamav.timer
 
 %post milter
 /sbin/chkconfig --add clamav-milter
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/c9909b3e86e24be8b8013573371a796ed3e5375b



More information about the pld-cvs-commit mailing list