diff --git a/clamav.spec b/clamav.spec index 1c3bdc91f174000116505e73354f4e5b0e42d436..529f28f8228af5bee3ae6d00889443a643ae5bc6 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: 3 +Release: 4 License: GPL-2.0-only URL: https://www.clamav.net/ @@ -272,6 +272,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.* @@ -404,6 +412,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