]> git.pld-linux.org Git - packages/fetchmail.git/commitdiff
- bconds, changelog cosmetics
authoreothane <eothane@pld-linux.org>
Sun, 1 Feb 2004 18:12:55 +0000 (18:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fetchmail.spec -> 1.205

fetchmail.spec

index f8331ac114f59d89fd77b15c94a086e3eec11b94..8d46cffb816889f5c78f9c7d7e714699a2942dc7 100644 (file)
@@ -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}
 
This page took 0.10734 seconds and 4 git commands to generate.