--- rpms/qpsmtpd/sme10/qpsmtpd.spec 2016/04/16 11:27:05 1.4 +++ rpms/qpsmtpd/sme10/qpsmtpd.spec 2016/04/16 11:31:50 1.5 @@ -1,4 +1,4 @@ -# $Id: qpsmtpd.spec,v 1.12 2015/02/15 16:25:57 vip-ire Exp $ +# $Id: qpsmtpd.spec,v 1.4 2016/04/16 11:27:05 vip-ire Exp $ Name: qpsmtpd Version: 0.96 @@ -12,6 +12,7 @@ BuildRequires: perl >= 0:5.00503 BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) +Requires: perl(IO::Socket::SSL) >= 1.70 Requires(pre): coreutils, shadow-utils, perl Source0: %{name}-%{version}.tar.gz @@ -125,17 +126,7 @@ fi %doc %{_docdir}/%{name}-apache-%{version}/README.selinux %pre -if ! id smtpd >/dev/null 2>&1 -then - # need to create smtpd user. - if perl -e 'exit ! defined(getgrnam("postdrop"))' - then - # if postfix is installed, we will probably use - # queue/postfix, which will need this: - supp="-G postdrop" - fi - useradd -r -M -s /bin/false $supp smtpd -fi + %changelog * Sat Apr 16 2016 Daniel Berteaud 0.96-1.sme