--- rpms/clamav/sme9/clamav.spec 2018/11/12 22:37:19 1.23 +++ rpms/clamav/sme9/clamav.spec 2018/11/13 05:27:42 1.24 @@ -20,7 +20,7 @@ Summary: Anti-virus software Name: clamav Version: 0.100.2 -Release: 2%{?dist} +Release: 3%{?dist} # ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license %if 0%{?zlibversion:1} && 0%{?zlibrelease:1} License: GPLv2 and zlib and Boost @@ -266,7 +266,6 @@ CLAMAV_FLAGS="--config-file=%{_sysconfdi EOF %build - %if 0%{?zlibversion:1} && 0%{?zlibrelease:1} # Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see # https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec @@ -300,8 +299,7 @@ popd --with-dbdir="%{_localstatedir}/clamav" \ --with-group="clamav" \ --with-libcurl=%{_prefix} \ - --with-user="clamav" - + --with-user="clamav" \ %if 0%{?zlibversion:1} && 0%{?zlibrelease:1} --with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \ %endif