Mark cvd files is clamav-data as %config(noreplace) (bz#2170876)
Rename clamav-update to clamav-freshclam Make clamav-freshclam supplement clamd
This commit is contained in:
parent
cc96bf6726
commit
fa96639809
32
clamav.spec
32
clamav.spec
@ -25,7 +25,7 @@
|
||||
Summary: End-user tools for the Clam Antivirus scanner
|
||||
Name: clamav
|
||||
Version: 1.0.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
||||
URL: https://www.clamav.net/
|
||||
%if %{with unrar}
|
||||
@ -194,21 +194,22 @@ BuildArch: noarch
|
||||
This package contains the documentation for clamav.
|
||||
|
||||
|
||||
%package update
|
||||
%package freshclam
|
||||
Summary: Auto-updater for the Clam Antivirus scanner data-files
|
||||
Requires: clamav-filesystem = %{version}-%{release}
|
||||
Requires: clamav-lib = %{version}-%{release}
|
||||
Supplements:clamd
|
||||
Provides: data(clamav) = empty
|
||||
Provides: clamav-data-empty = %{version}-%{release}
|
||||
Obsoletes: clamav-data-empty < %{version}-%{release}
|
||||
Provides: clamav-update = %{version}-%{release}
|
||||
Obsoletes: clamav-update < %{version}-%{release}
|
||||
|
||||
%description update
|
||||
This package contains programs which can be used to update the clamav
|
||||
anti-virus database automatically. It uses the freshclam(1) utility for
|
||||
this task. To activate it use, uncomment the entry in /etc/cron.d/clamav-update.
|
||||
Use this package when you go updating the virus database regulary and
|
||||
do not want to download a >160MB sized rpm-package with outdated virus
|
||||
definitions.
|
||||
%description freshclam
|
||||
This package contains the freshclam(1) program and clamav-freshclam
|
||||
service which can be used to update the clamav anti-virus database
|
||||
automatically. Most users should install this package in order to
|
||||
keep their definitions up to date.
|
||||
|
||||
|
||||
%package -n clamd
|
||||
@ -452,13 +453,13 @@ exit 0
|
||||
%postun milter
|
||||
%systemd_postun_with_restart clamav-milter.service
|
||||
|
||||
%post update
|
||||
%post freshclam
|
||||
%systemd_post clamav-freshclam.service
|
||||
|
||||
%preun update
|
||||
%preun freshclam
|
||||
%systemd_preun clamav-freshclam.service
|
||||
|
||||
%postun update
|
||||
%postun freshclam
|
||||
%systemd_postun_with_restart clamav-freshclam.service
|
||||
|
||||
%ldconfig_scriptlets lib
|
||||
@ -522,7 +523,7 @@ exit 0
|
||||
%doc docs/html
|
||||
|
||||
|
||||
%files update
|
||||
%files freshclam
|
||||
%{_bindir}/freshclam
|
||||
%{_libdir}/libfreshclam.so.2*
|
||||
%{_mandir}/*/freshclam*
|
||||
@ -554,6 +555,11 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 27 2023 Orion Poplawski <orion@nwra.com> - 1.0.1-4
|
||||
- Mark cvd files is clamav-data as %%config(noreplace) (bz#2170876)
|
||||
- Rename clamav-update to clamav-freshclam
|
||||
- Make clamav-freshclam supplement clamd
|
||||
|
||||
* Fri Feb 24 2023 Sérgio Basto <sergio@serjux.com> - 1.0.1-3
|
||||
- Update data files with help of Cisco-Talos/cvdupdate
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user