diff --git a/clamav.spec b/clamav.spec index 7e56cc2fdf054262d6882fdcd364dfc0dfc951ae..951abcf21c39de3c0495e01d42378d4f64056763 100644 --- a/clamav.spec +++ b/clamav.spec @@ -3,7 +3,7 @@ Name: clamav Summary: End-user tools for the Clam Antivirus scanner Version: 1.0.9 -Release: 1 +Release: 2 License: GPL-2.0-only URL: https://www.clamav.net/ @@ -310,7 +310,7 @@ exit 0 test -e %_var/log/freshclam.log || { touch %_var/log/freshclam.log %__chmod 0664 %_var/log/freshclam.log - %__chown root:clamav %_var/log/freshclam.log + %__chown root:%{updateuser} %_var/log/freshclam.log ! test -x /sbin/restorecon || /sbin/restorecon %_var/log/freshclam.log } @@ -336,7 +336,7 @@ exit 0 %files %exclude %_unitdir/clamav-{daemon,freshclam}.* -%license COPYING +%license COPYING.txt COPYING/* %doc NEWS.md README.md docs/html %_bindir/{clambc,clamconf,clamdscan,clamdtop,clamscan,clamsubmit,sigtool} %_libdir/libclamav.so.11* @@ -393,6 +393,9 @@ exit 0 %changelog +* Thu Jun 26 2025 yaoxin <1024769339@qq.com> - 1.0.9-2 +- Fix clamav downgrade failure + * Tue Jun 24 2025 yaoxin <1024769339@qq.com> - 1.0.9-1 - Update to 1.0.9 for fix CVE-2025-20260