diff --git a/clamav.spec b/clamav.spec index f6f0c7d7265f9b686993e96a9623bbe0198390e7..306a7f829f71fe173214fef79fac99ff1c45d266 100644 --- a/clamav.spec +++ b/clamav.spec @@ -4,7 +4,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/ @@ -309,7 +309,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 } @@ -335,7 +335,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* @@ -392,6 +392,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