Browse Source

switch to new %options

master
parent
commit
f0e474b14d
  1. 26
      sendmail/sendmail.spec

26
sendmail/sendmail.spec

@ -24,18 +24,10 @@
##
# package options
%ifndef with_tls
%define with_tls no
%endif
%ifndef with_sasl
%define with_sasl no
%endif
%ifndef with_milter
%define with_milter no
%endif
%ifndef with_ldap
%define with_ldap no
%endif
%option with_tls no
%option with_sasl no
%option with_milter no
%option with_ldap no
# package information
Name: sendmail
@ -59,8 +51,8 @@ Source4: rc.sendmail
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg, m4, fsl, make, perl
BuildPreReq: OpenPKG, openpkg >= 20021230, m4, fsl, tar, gcc, make, db >= 4.1.25
PreReq: OpenPKG, openpkg >= 20021230, m4, fsl, make, perl
%if "%{with_tls}" == "yes"
BuildPreReq: openssl
%endif
@ -81,11 +73,7 @@ Conflicts: ssmtp, exim, postfix
fsl(3) logging rather than syslog(3) and optional STARTTLS,
SMTPAUTH, Milter and LDAP support.
Options:
--define 'with_tls %{with_tls}'
--define 'with_sasl %{with_sasl}'
--define 'with_milter %{with_milter}'
--define 'with_ldap %{with_ldap}'
%options -p11
%prep
# unpack standard tarballs

Loading…
Cancel
Save