diff --git a/clamav.spec b/clamav.spec index 37e6f56..937d141 100644 --- a/clamav.spec +++ b/clamav.spec @@ -26,7 +26,7 @@ Summary: End-user tools for the Clam Antivirus scanner Name: clamav Version: 1.0.5 -Release: 1%{?dist} +Release: 2%{?dist} License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2} URL: https://www.clamav.net/ %if %{with unrar} @@ -120,7 +120,9 @@ BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros #for milter BuildRequires: sendmail-devel +%ifarch %{valgrind_arches} BuildRequires: valgrind +%endif Requires: clamav-filesystem = %{version}-%{release} Requires: clamav-lib = %{version}-%{release} @@ -402,6 +404,8 @@ rm %{buildroot}%{_unitdir}/clamav-daemon.* %post data +# nullglob. If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves +shopt -s nullglob # Let newer .cld files take precedence over the shipped .cvd files for f in %{homedir}/*.cld do @@ -567,6 +571,10 @@ exit 0 %changelog +* Tue Mar 05 2024 Sérgio Basto - 1.0.5-2 +- set nullblog to fix post script (#2253914) +- Properly check valgrind arches + * Thu Feb 08 2024 Orion Poplawski - 1.0.5-1 - Update to 1.0.5