From da9c144bc8442426030dc9b80ea5c2f82fa7b6a4 Mon Sep 17 00:00:00 2001 From: eothane Date: Sun, 1 Feb 2004 18:12:55 +0000 Subject: [PATCH] - bconds, changelog cosmetics Changed files: fetchmail.spec -> 1.205 --- fetchmail.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fetchmail.spec b/fetchmail.spec index f8331ac..8d46cff 100644 --- a/fetchmail.spec +++ b/fetchmail.spec @@ -1,3 +1,7 @@ +# +# Conditional build: +%bcond_without ssl # build without SSL support +%bcond_without ipv6 # build without IPv6 support Summary: Remote mail fetch daemon for POP2, POP3, APOP, IMAP Summary(da): Alsidig POP/IMAP post-afhentnings dæmon Summary(de): Dämon zum Laden entfernter Mail (POP2, POP3, APOP, IMAP) @@ -28,7 +32,7 @@ BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: gettext-devel -%{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c} +%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7c} Requires: setup >= 2.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -170,12 +174,12 @@ cp -f /usr/share/automake/config.* . %configure \ --enable-nls \ --without-included-gettext \ - --enable-inet6 \ + %{?with_ipv6:--enable-inet6} \ --enable-RPA \ --enable-NTLM \ --enable-SDPS \ - %{!?_without_ssl:--with-ssl=%{_prefix}} \ - %{?_without_ssl:--without-ssl} \ + %{?with_ssl:--with-ssl=%{_prefix}} \ + %{!?with_ssl:--without-ssl} \ --without-kerberos %{__make} -- 2.44.0