RHEL4 is the minimum version for this RPM. perl-Archive-Tar is required for
build and runtime.
This commit is contained in:
parent
5f32468a5e
commit
5284bb361f
@ -16,15 +16,9 @@
|
||||
%endif
|
||||
|
||||
# Define variables to use in conditionals
|
||||
%define option_archive_tar 0
|
||||
%define option_ssl 0
|
||||
%define perl_devel 0
|
||||
|
||||
# perl-Archive-Tar (FC2+, RHEL4.6+)
|
||||
%if 0%{?fedora} > 1
|
||||
%define option_archive_tar 1
|
||||
%endif
|
||||
|
||||
# SSL and IPv6 (FC6+, RHEL5+)
|
||||
%if 0%{?fedora} > 5
|
||||
%define option_ssl 1
|
||||
@ -42,7 +36,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
|
||||
Name: spamassassin
|
||||
Version: 3.3.0
|
||||
%define prename alpha2
|
||||
Release: 0.4.alpha2%{?dist}
|
||||
Release: 0.5.alpha2%{?dist}
|
||||
License: ASL 2.0
|
||||
Group: Applications/Internet
|
||||
URL: http://spamassassin.apache.org/
|
||||
@ -80,13 +74,12 @@ Requires: perl(DB_File)
|
||||
Requires: procmail
|
||||
Requires: gnupg
|
||||
|
||||
# Hard requirement
|
||||
# Hard requirements
|
||||
BuildRequires: perl-HTML-Parser >= 3.43
|
||||
Requires: perl-HTML-Parser >= 3.43
|
||||
|
||||
%if %{option_archive_tar}
|
||||
BuildRequires: perl(Archive::Tar)
|
||||
Requires: perl(Archive::Tar)
|
||||
%endif
|
||||
|
||||
%if %{option_ssl}
|
||||
# Needed for spamc/spamd SSL
|
||||
Requires: perl(IO::Socket::SSL)
|
||||
@ -229,7 +222,7 @@ fi
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Mon Aug 10 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.4.alpha1
|
||||
* Mon Aug 10 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.5.alpha1
|
||||
- 3.3.0-alpha2
|
||||
|
||||
* Tue Jul 07 2009 Warren Togami <wtogami@redhat.com> - 3.3.0-0.2.alpha1
|
||||
|
Loading…
Reference in New Issue
Block a user