20 |
Summary: Anti-virus software |
Summary: Anti-virus software |
21 |
Name: clamav |
Name: clamav |
22 |
Version: 0.100.2 |
Version: 0.100.2 |
23 |
Release: 2%{?dist} |
Release: 6%{?dist} |
24 |
# ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license |
# ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license |
25 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
26 |
License: GPLv2 and zlib and Boost |
License: GPLv2 and zlib and Boost |
128 |
Requires(pre): /usr/sbin/useradd |
Requires(pre): /usr/sbin/useradd |
129 |
|
|
130 |
### Fedora Extras introduced them differently :( |
### Fedora Extras introduced them differently :( |
131 |
Obsoletes: clamav-update <= %{version}-%{release} |
Provides: clamav-update = %{version}-%{release} |
132 |
Obsoletes: clamav-data <= %{version}-%{release} |
Obsoletes: clamav-update < %{version}-%{release} |
133 |
|
Provides: clamav-data = %{version}-%{release} |
134 |
|
Obsoletes: clamav-data < %{version}-%{release} |
135 |
|
Obsoletes: clamav-data-empty <= %{version}-%{release} |
136 |
|
# Ugly to put these in the db-package, but needed |
137 |
|
# here to handle upgrades on EL5. |
138 |
|
Provides: clamav-filesystem = %{version}-%{release} |
139 |
|
Obsoletes: clamav-filesystem < %{version}-%{release} |
140 |
|
|
141 |
%description db |
%description db |
142 |
The actual virus database for %{name} |
The actual virus database for %{name} |
273 |
EOF |
EOF |
274 |
|
|
275 |
%build |
%build |
|
|
|
276 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
277 |
# Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see |
# Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see |
278 |
# https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec |
# https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec |
306 |
--with-dbdir="%{_localstatedir}/clamav" \ |
--with-dbdir="%{_localstatedir}/clamav" \ |
307 |
--with-group="clamav" \ |
--with-group="clamav" \ |
308 |
--with-libcurl=%{_prefix} \ |
--with-libcurl=%{_prefix} \ |
309 |
--with-user="clamav" |
--with-user="clamav" \ |
|
|
|
310 |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
%if 0%{?zlibversion:1} && 0%{?zlibrelease:1} |
311 |
--with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \ |
--with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \ |
312 |
%endif |
%endif |
495 |
%exclude %{_libdir}/libclammspack.la |
%exclude %{_libdir}/libclammspack.la |
496 |
|
|
497 |
%changelog |
%changelog |
498 |
|
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.100.2-6.sme |
499 |
|
- Update clamav-db as per epel last spec file [SME: 10754] |
500 |
|
to add clamav-update as provides |
501 |
|
|
502 |
|
* Tue Nov 13 2018 John Crisp <jcrisp@safeandsoundit.co.uk> - 0.100.2-4 |
503 |
|
- Fix incorrect version number in the previoius changelog entry |
504 |
|
|
505 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> - 0.100.3-1 |
* Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> - 0.100.3-1 |
506 |
- Bundle zlib 1.2.7-17.el7 to avoid malformed database errors (#1600458) |
- Bundle zlib 1.2.7-17.el7 to avoid malformed database errors (#1600458) |
507 |
- [SME: 10645] |
- [SME: 10645] |