Conditional to require perl-devel during build for FC7+ (#226276)

This commit is contained in:
Warren Togami 2007-03-07 00:39:33 +00:00
parent ba874dd6ca
commit 82066cf6c4

View File

@ -2,6 +2,8 @@
%define option_ssl 1
# OPTION: perl-Archive-Tar (FC2+, RHEL5+)
%define option_archive_tar 1
# OPTION: Split perl-devel (FC7+)
%define perl-devel 1
# DEPRECATED OPTION: Old krb5.h location (RHEL3 and old FC)
%define option_old_krb5 0
@ -15,7 +17,7 @@
Summary: Spam filter for email which can be invoked from mail delivery agents.
Name: spamassassin
Version: 3.2.0
Release: 0.1.%{pre}%{?dist}
Release: 0.2.%{pre}%{?dist}
License: Apache License
Group: Applications/Internet
URL: http://spamassassin.apache.org/
@ -61,6 +63,9 @@ Requires: perl(IO::Socket::SSL)
# Needed for IPv6
Requires: perl(IO::Socket::INET6)
%endif
%if %{perl_devel}
BuildRequires: perl-devel
%endif
Obsoletes: perl-Mail-SpamAssassin
@ -187,6 +192,9 @@ fi
exit 0
%changelog
* Tue Mar 06 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.2.pre2
- Conditional to require perl-devel during build for FC7+ (#226276)
* Fri Mar 02 2007 Warren Togami <wtogami@redhat.com> 3.2.0-0.1.pre2
- 3.2.0-pre2