From b757799536265971e58945c2c4cbe9578286b2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Wed, 31 Jan 2018 12:11:30 +0000 Subject: [PATCH] Fix scriplet --- clamav.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clamav.spec b/clamav.spec index 07aa0f7..d5e1a8e 100644 --- a/clamav.spec +++ b/clamav.spec @@ -705,7 +705,8 @@ test -e %milterlog || { chown root:%milteruser %milterlog ! test -x /sbin/restorecon || /sbin/restorecon %milterlog } -%{?with_systemd:/bin/systemd-tmpfiles --create %_tmpfilesdir/clamav-milter.conf || :} +%{?with_tmpfiles: +%{?with_systemd:/bin/systemd-tmpfiles --create %_tmpfilesdir/clamav-milter.conf || :}} %triggerin milter -- %name-milter < 0.97.3-1704 # remove me after F19