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