From 5284bb361fdace3f3677cbafbe5a810fa5c1f3e2 Mon Sep 17 00:00:00 2001 From: Warren Togami Date: Mon, 10 Aug 2009 04:41:05 +0000 Subject: [PATCH] RHEL4 is the minimum version for this RPM. perl-Archive-Tar is required for build and runtime. --- spamassassin.spec | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/spamassassin.spec b/spamassassin.spec index 3ff5b64..69f028c 100644 --- a/spamassassin.spec +++ b/spamassassin.spec @@ -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 - 3.3.0-0.4.alpha1 +* Mon Aug 10 2009 Warren Togami - 3.3.0-0.5.alpha1 - 3.3.0-alpha2 * Tue Jul 07 2009 Warren Togami - 3.3.0-0.2.alpha1