From a319b651daf20e98b7e3fa2b18db4875f6ac6767 Mon Sep 17 00:00:00 2001 From: Sérgio M. Basto Date: Mar 07 2021 23:36:10 +0000 Subject: clamav-freshclam.service: Standard output type syslog is obsolete (#1933977) --- diff --git a/clamav-freshclam.service.patch b/clamav-freshclam.service.patch new file mode 100644 index 0000000..c1ff9bc --- /dev/null +++ b/clamav-freshclam.service.patch @@ -0,0 +1,10 @@ +--- ./freshclam/clamav-freshclam.service.in.orig 2021-02-01 20:49:25.000000000 +0000 ++++ ./freshclam/clamav-freshclam.service.in 2021-03-07 22:59:34.476455890 +0000 +@@ -8,7 +8,6 @@ After=network-online.target + + [Service] + ExecStart=@prefix@/bin/freshclam -d --foreground=true +-StandardOutput=syslog + + [Install] + WantedBy=multi-user.target diff --git a/clamav.spec b/clamav.spec index f7eab25..e3c1bc1 100644 --- a/clamav.spec +++ b/clamav.spec @@ -42,7 +42,7 @@ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 0.103.1 -Release: 2%{?dist} +Release: 3%{?dist} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} URL: https://www.clamav.net/ %if %{with unrar} @@ -94,6 +94,8 @@ Patch4: clamav-check.patch # Modify clamav-clamonacc.service for Fedora compatibility Patch5: clamav-clamonacc-service.patch +Patch6: clamav-freshclam.service.patch + BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel @@ -260,6 +262,7 @@ This package contains files which are needed to run the clamav-milter. %patch2 -p1 -b .private %patch4 -p1 -b .check %patch5 -p1 -b .clamonacc-service +%patch6 -p1 -b .freshclam-service install -p -m0644 %SOURCE300 clamav-milter/ @@ -629,6 +632,9 @@ fi %changelog +* Sun Mar 07 2021 Sérgio Basto - 0.103.1-3 +- clamav-freshclam.service: Standard output type syslog is obsolete (#1933977) + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.103.1-2 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583.