--- rpms/smeserver-clamav/sme10/smeserver-clamav.spec 2021/04/07 21:05:46 1.10 +++ rpms/smeserver-clamav/sme10/smeserver-clamav.spec 2021/04/18 20:18:15 1.11 @@ -1,10 +1,10 @@ -# $Id: smeserver-clamav.spec,v 1.9 2021/01/08 22:25:52 jpp Exp $ +# $Id: smeserver-clamav.spec,v 1.10 2021/04/07 21:05:46 jpp Exp $ Summary: SME Server module to configure clamav %define name smeserver-clamav Name: %{name} %define version 2.7.0 -%define release 6 +%define release 7 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -35,6 +35,9 @@ BuildRequires: e-smith-devtools SME Server enhancement to configure and run clamd and freshclam %changelog +* Sun Apr 18 2021 Jean-Philippe Pialasse 2.7.0-7.sme +- fix typo and missing +x [SME: 11520] + * Wed Apr 07 2021 Jean-Philippe Pialasse 2.7.0-6.sme - fix issues with non epel standard scan.conf [SME: 11520] move clamd.conf to scan.conf @@ -411,8 +414,8 @@ if [ $1 -gt 1 ] ; then fi %post # removing old conf file -if [[ -f /etc/clam.d/clamd.conf ]]; then - rm -f /etc/clam.d/clamd.conf +if [[ -f /etc/clamd.d/clamd.conf ]]; then + rm -f /etc/clamd.d/clamd.conf fi #echo "Changing freshclam log owners" @@ -435,6 +438,7 @@ rm -rf $RPM_BUILD_ROOT --dir /var/log/freshclam 'attr(2755,clamupdate,clamupdate)' \ --dir /var/log/clamd 'attr(2755,clamscan,clamscan)' \ --dir /var/spool/clamav/quarantine 'attr(2750,clamscan,clamscan)' \ + --file /usr/sbin/clamdscan 'attr(0755,root,root)' \ --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \ --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \ --file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \