From 9fd180100ac9fd218594e44d8456f8f0cc8e56f0 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 13 Jun 2018 13:10:15 -0500 Subject: [PATCH] Split cyr_virusscan to a subpackage. --- cyrus-imapd.spec | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/cyrus-imapd.spec b/cyrus-imapd.spec index 938fda6..8d8d576 100644 --- a/cyrus-imapd.spec +++ b/cyrus-imapd.spec @@ -9,7 +9,7 @@ Name: cyrus-imapd Version: 3.0.7 -Release: 4%{?dist} +Release: 5%{?dist} %define ssl_pem_file /etc/pki/%name/%name.pem @@ -175,6 +175,18 @@ Cyrus IMAP server. It can be installed on systems other than the one running the server. +%package virusscan +Summary: Cyrus virus scanning utility + +%description virusscan +The cyrus-imapd-virusscan package contains the cyr_virusscan utility. It +exists in a separate package so that users who do not wish to install all of +the clamav suite don't have to. + +Install this package if you wish to use the internal cyrus virus scanning +utility. + + %package vzic Summary: Utilities to convert timezone database files License: GPLv2+ @@ -529,6 +541,7 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v %_libdir/libcyrus*.so.* %_mandir/man5/* %_mandir/man8/* +%exclude %_mandir/man8/cyr_virusscan.8* %dir /etc/pki/cyrus-imapd %attr(0640,root,%cyrusgroup) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %ssl_pem_file @@ -604,11 +617,19 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v /usr/lib/cyrus-imapd +%files virusscan +%_sbindir/cyr_virusscan +%_mandir/man8/cyr_virusscan.8* + + %files vzic %cyrexecdir/vzic* %changelog +* Wed Jun 13 2018 Jason L Tibbitts III - 3.0.7-5 +- Split out cyr_virusscan into a -virusscan subpackage. + * Thu Jun 07 2018 Jason L Tibbitts III - 3.0.7-4 - Update Cassandane checkout. Drop upstreamed patch. - Patch code for RECONSTRUCT implementation to use the renamed cyr_quota.