- match upstream version
- #133422 Future proof krb5 back compat (Milan Kerslager)
This commit is contained in:
parent
16f4f1fc0b
commit
d06a942912
@ -8,8 +8,8 @@
|
||||
|
||||
Summary: Spam filter for email which can be invoked from mail delivery agents.
|
||||
Name: %{name}
|
||||
Version: 3.0
|
||||
Release: 10
|
||||
Version: 3.0.0
|
||||
Release: 1
|
||||
License: Apache License
|
||||
Group: Applications/Internet
|
||||
URL: http://spamassassin.org/
|
||||
@ -20,7 +20,6 @@ Source4: spamassassin-spamc.rc
|
||||
Source5: spamassassin.sysconfig
|
||||
Source10: spamassassin-helper.sh
|
||||
Source99: filter-requires-spamassassin.sh
|
||||
Patch3: spamassassin-3.0-krb5-backcompat.patch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Buildroot: %{_tmppath}/%{name}-root
|
||||
Prefix: %{_prefix}
|
||||
@ -60,19 +59,11 @@ To filter spam for all users, add that line to /etc/procmailrc
|
||||
%prep
|
||||
%setup -q -n Mail-SpamAssassin-3.0.0
|
||||
|
||||
# Backwards compatibility with older krb5-devel
|
||||
echo %{krb5backcompat}
|
||||
%if %{krb5backcompat}
|
||||
%patch3 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%{__perl} Makefile.PL DESTDIR=$RPM_BUILD_ROOT/ SYSCONFDIR=%{_sysconfdir} INSTALLDIRS=vendor ENABLE_SSL=yes < /dev/null
|
||||
|
||||
|
||||
%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
#%make test
|
||||
%{__make} %{?krb5backcompat:SSLCFLAGS=-DSPAMC_SSL\ -I/usr/kerberos/include} OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -150,6 +141,10 @@ fi
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Thu Sep 23 2004 Warren Togami <wtogami@redhat.com> - 3.0.0-1
|
||||
- match upstream version
|
||||
- #133422 Future proof krb5 back compat (Milan Kerslager)
|
||||
|
||||
* Wed Sep 22 2004 Warren Togami <wtogami@redhat.com> - 3.0-10
|
||||
- 3.0.0 final
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user