require /usr/sbin/sendmail as MTA is not provided by all packages (#1048618)

This commit is contained in:
Michal Hlavinka 2014-04-17 11:56:46 +02:00
parent f03a27193f
commit e358b582f8

View File

@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools
Version: 6.2
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
Group: System Environment/Base
License: GPLv2+
@ -14,7 +14,7 @@ Source4: smartdnotify
Patch1: smartmontools-5.38-defaultconf.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: fileutils mailx MTA
Requires: fileutils mailx %{_sbindir}/sendmail
#new rpm does not handle this (yet?)
#Requires(triggerun): systemd-units
Requires(post): systemd-units
@ -108,6 +108,9 @@ fi
%{_datadir}/%{name}
%changelog
* Thu Apr 17 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-5
- require /usr/sbin/sendmail as MTA is not provided by all packages (#1048618)
* Tue Apr 15 2014 Michal Hlavinka <mhlavink@redhat.com> - 1:6.2-4
- use MTA instead of sendmail as a requirement (#1048614)