Conditionalize Requires for /sbin/service and /sbin/chkconfig. Fixes bug #1592390
This commit is contained in:
parent
4f3c160f47
commit
2f4c9e34c4
@ -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 <kevin@scrye.com> - 3.4.1-21
|
||||
- Conditionalize Requires for /sbin/service and /sbin/chkconfig. Fixes bug #1592390
|
||||
|
||||
* Thu Jun 07 2018 Tomas Korbar <tomas.korb@seznam.cz> - 3.4.1-20
|
||||
- Add razor log path and home directory option
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user