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