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