Have clamav-freshclam ghost all of the .cld and .cvd files

This commit is contained in:
Orion Poplawski 2023-02-26 16:49:12 -07:00
parent 6e8f97c2ff
commit 45cae73773
1 changed files with 6 additions and 2 deletions

View File

@ -538,10 +538,13 @@ exit 0
%{_mandir}/*/freshclam*
%{_unitdir}/clamav-freshclam.service
%config(noreplace) %verify(not mtime) %{_sysconfdir}/freshclam.conf
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/main.cvd
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/bytecode.cld
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/bytecode.cvd
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/freshclam.dat
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/daily.cld
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/bytecode.cld
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/daily.cvd
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/main.cld
%ghost %attr(0644,%{updateuser},%{updateuser}) %{homedir}/main.cvd
%files -n clamd
@ -568,6 +571,7 @@ exit 0
- Mark cvd files is clamav-data as %%config(noreplace) (bz#2170876)
- Rename clamav-update to clamav-freshclam
- Make clamav-freshclam supplement clamd
- Have clamav-freshclam ghost all of the .cld and .cvd files
* Fri Feb 24 2023 Sérgio Basto <sergio@serjux.com> - 1.0.1-3
- Update data files with help of Cisco-Talos/cvdupdate