Browse Source

spamassassin change build options

Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
c980a6d108
  1. 17
      SPECS/spamassassin.spec

17
SPECS/spamassassin.spec

@ -22,33 +22,16 @@
%define use_systemd 0 %define use_systemd 0


# SSL and IPv6 (FC6+, RHEL5+) # SSL and IPv6 (FC6+, RHEL5+)
%if 0%{?fedora} > 5 || 0%{?rhel} >= 5
%define option_ssl 1 %define option_ssl 1
%endif

# Split perl-devel (FC7+ and RHEL-8+) # Split perl-devel (FC7+ and RHEL-8+)
%if 0%{?fedora} > 6 || 0%{?rhel} > 7
%define perl_devel 1 %define perl_devel 1
%endif

# Encode::Detect, not strictly required but helpful if you enable language detection (FC7+) # Encode::Detect, not strictly required but helpful if you enable language detection (FC7+)
%if 0%{?fedora} > 6 || 0%{?rhel} >= 6
%define require_encode_detect 1 %define require_encode_detect 1
%endif

# Mail::DKIM by default (F11+) # Mail::DKIM by default (F11+)
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
%define dkim_deps 1 %define dkim_deps 1
%endif

%if 0%{?fedora} >= 16 || 0%{?rhel} >= 7
%define use_systemd 1 %define use_systemd 1
%endif

%if ! 0%{?rhel}
%global patricia_deps 1 %global patricia_deps 1
%global razor_deps 1 %global razor_deps 1
%endif


%define real_name Mail-SpamAssassin %define real_name Mail-SpamAssassin
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}

Loading…
Cancel
Save