From 0cf1c0f886433eb3677a6824015b08eedd5f790d Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Thu, 26 Jun 2025 18:08:19 +0800 Subject: [PATCH] Fix clamav downgrade failure (cherry picked from commit 468af49e7df72587079dd09ef1301571c6a0d00e) --- clamav.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/clamav.spec b/clamav.spec index 7e56cc2..951abcf 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 -- Gitee