rpms/spamassassin/devel spamassassin.spec,1.79,1.80
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Jan 19 20:21:08 UTC 2007
- Previous message (by thread): rpms/syslinux/devel syslinux.spec,1.38,1.39
- Next message (by thread): rpms/spamassassin/FC-5 sa-update.cronscript, NONE, 1.1 sa-update.crontab, NONE, 1.1 sa-update.logrotate, NONE, 1.1 spamassassin.spec, 1.68, 1.69
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: wtogami
Update of /cvs/dist/rpms/spamassassin/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10494
Modified Files:
spamassassin.spec
Log Message:
- Options for RHEL4
* spamc/spamd cannot connect over IPv6 or SSL
* sa-update is disabled
The above functionality requires perl modules not included in RHEL4.
You may still use them if you get those perl modules from elsewhere.
RHEL5 ships these perl modules.
Index: spamassassin.spec
===================================================================
RCS file: /cvs/dist/rpms/spamassassin/devel/spamassassin.spec,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- spamassassin.spec 14 Dec 2006 22:06:51 -0000 1.79
+++ spamassassin.spec 19 Jan 2007 20:21:01 -0000 1.80
@@ -1,6 +1,12 @@
-%define real_name Mail-SpamAssassin
-%define krb5backcompat %([ -a /usr/kerberos/include/krb5.h ] && echo 1 || echo 0)
+# OPTION: SSL and IPv6 (FC6+, RHEL5+)
+%define option_ssl 1
+# OPTION: perl-Archive-Tar (FC2+, RHEL5+)
+%define option_archive_tar 1
+
+# DEPRECATED OPTION: Old krb5.h location (RHEL3 and old FC)
+%define option_old_krb5 0
+%define real_name Mail-SpamAssassin
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Summary: Spam filter for email which can be invoked from mail delivery agents.
@@ -39,12 +45,17 @@
Requires: perl(Net::DNS)
Requires: perl(Time::HiRes)
Requires: perl(DB_File)
-Requires: perl(Archive::Tar)
Requires: procmail
+
+%if %{option_archive_tar}
+Requires: perl(Archive::Tar)
+%endif
+%if %{option_ssl}
# Needed for spamc/spamd SSL
Requires: perl(IO::Socket::SSL)
# Needed for IPv6
Requires: perl(IO::Socket::INET6)
+%endif
Obsoletes: perl-Mail-SpamAssassin
@@ -77,7 +88,7 @@
export CFLAGS="$RPM_OPT_FLAGS"
%{__perl} Makefile.PL DESTDIR=$RPM_BUILD_ROOT/ SYSCONFDIR=%{_sysconfdir} INSTALLDIRS=vendor ENABLE_SSL=yes < /dev/null
-%{__make} %{?krb5backcompat:SSLCFLAGS=-DSPAMC_SSL\ -I/usr/kerberos/include} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} %{?option_old_krb5:SSLCFLAGS=-DSPAMC_SSL\ -I/usr/kerberos/include} OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
@@ -172,6 +183,14 @@
exit 0
%changelog
+* Thu Jan 18 2007 Warren Togami <wtogami at redhat.com>
+- Options for RHEL4
+ * spamc/spamd cannot connect over IPv6 or SSL
+ * sa-update is disabled
+ The above functionality requires perl modules not included in RHEL4.
+ You may still use them if you get those perl modules from elsewhere.
+ RHEL5 ships these perl modules.
+
* Thu Dec 14 2006 Warren Togami <wtogami at redhat.com> - 3.1.7-4
- add standardized sa-update cron script, disabled by default
- Previous message (by thread): rpms/syslinux/devel syslinux.spec,1.38,1.39
- Next message (by thread): rpms/spamassassin/FC-5 sa-update.cronscript, NONE, 1.1 sa-update.crontab, NONE, 1.1 sa-update.logrotate, NONE, 1.1 spamassassin.spec, 1.68, 1.69
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list