From 2f4c9e34c44b1050d02df3c042951603820950d1 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 20 Jun 2018 15:33:32 -0700 Subject: [PATCH] Conditionalize Requires for /sbin/service and /sbin/chkconfig. Fixes bug #1592390 --- spamassassin.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spamassassin.spec b/spamassassin.spec index 5e31b24..028f3f9 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -63,7 +63,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents Name: spamassassin Version: 3.4.1 #Release: 0.8.%{prerev}%{?dist} -Release: 20%{?dist} +Release: 21%{?dist} License: ASL 2.0 Group: Applications/Internet URL: http://spamassassin.apache.org/ @@ -110,7 +110,9 @@ Patch104: spamassassin-3.4.1-salearn.patch # end of patches Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%if %{use_systemd} == 0 Requires: /sbin/chkconfig /sbin/service +%endif Requires(post): diffutils BuildRequires: perl-interpreter >= 2:5.8.0 @@ -372,6 +374,9 @@ exit 0 %endif %changelog +* Wed Jun 20 2018 Kevin Fenzi - 3.4.1-21 +- Conditionalize Requires for /sbin/service and /sbin/chkconfig. Fixes bug #1592390 + * Thu Jun 07 2018 Tomas Korbar - 3.4.1-20 - Add razor log path and home directory option