Requires(pre): coreutils, shadow-utils, perl

to avoid useradd errors during install
This commit is contained in:
Filippo Carletti 2009-11-04 16:01:51 +01:00 committed by Ask Bjørn Hansen
parent fba594d0cb
commit 2a35963bd4

View File

@ -11,6 +11,7 @@ BuildRoot: %{_builddir}/%{name}-%{version}-%{release}-root
BuildRequires: perl >= 0:5.00503
BuildArchitectures: noarch
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) perl(IPC::Shareable)
Requires(pre): coreutils, shadow-utils, perl
Source0: %{name}-%{version}-%{release}.tar.gz
Source1: qpsmtpd-forkserver.rc
@ -122,7 +123,7 @@ fi
%config(noreplace) %{_sysconfdir}/qpsmtpd/*
%config(noreplace) %{_sysconfdir}/xinetd.d/smtp
%config(noreplace) %{_sysconfdir}/sysconfig/qpsmtpd-forkserver
%attr(0700,smtpd,smtpd) %dir %{_localstatedir}/spool/qpsmtpd
%attr(2750,qpsmtpd,clamav) %dir %{_localstatedir}/spool/qpsmtpd
%attr(0750,smtpd,smtpd) %dir %{_localstatedir}/log/qpsmtpd
%files apache