diff --git a/clamav.spec b/clamav.spec index d2e122764a2766c36c352b4c72f5d27d80f5f537..fd4ef6e169d3eb6a51e20b58c450229c3e812da3 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: 3 +Release: 4 License: GPL-2.0-only URL: https://www.clamav.net/ @@ -273,6 +273,14 @@ cat << EOF > %{buildroot}%{_tmpfilesdir}/clamav-milter.conf d %{_rundir}/clamav-milter 0710 clamilt clamilt EOF +#Fixup headers and scripts for multilib +%if 0%{?__isa_bits} == 64 +mv %{buildroot}%{_includedir}/clamav-types.h \ + %{buildroot}%{_includedir}/clamav-types-64.h +%else +mv %{buildroot}%{_includedir}/clamav-types.h \ + %{buildroot}%{_includedir}/clamav-types-32.h +%endif install -m 0644 %SOURCE16 %{buildroot}%{_includedir}/clamav-types.h rm %{buildroot}%{_unitdir}/clamav-daemon.* @@ -405,6 +413,9 @@ exit 0 %changelog +* Fri Dec 05 2025 liweigang - 1.0.9-4 +- add headers and scripts for multilib + * Wed Sep 24 2025 huangwenhua - 1.0.9-3 - Fix compile failure on loongarch by updating vendor