]> git.pld-linux.org Git - packages/LPRng.git/commitdiff
- added kerberos5 bcond
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 6 Jul 2009 13:51:00 +0000 (13:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- diabled kerbros5 support, the API used is so ancient there are even comments
  in the code that it needs rewriting or dropping

Changed files:
    LPRng.spec -> 1.137

LPRng.spec

index 2641e0c80b29a867ff7950b10da034094b8e724b..79b2fefcfd6c86b893f08eac051a98f6cd4199b2 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    kerberos5       # build with kerberos5 support
+#
 Summary:       A next-generation printing system for UNIX
 Summary(pl.UTF-8):     System drukowania nowej generacji
 Summary(pt_BR.UTF-8):  Gerenciador de impressão para UNIX e NT
@@ -27,7 +31,7 @@ URL:          http://www.lprng.com/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: heimdal-devel
+%{?with_kerberos5:BuildRequires:       heimdal-devel}
 BuildRequires: libtool
 BuildRequires: libwrap-devel
 BuildRequires: openssl-devel >= 0.9.7d
@@ -188,7 +192,8 @@ rm -f po/stamp-po
        --with-lpd_perms_path=%{_sysconfdir}/lpd.perms \
        --with-done_jobs=0 \
        --disable-werror \
-       --enable-kerberos \
+       %{?with_kerberos5:--enable-kerberos} \
+       %{!?with_kerberos5:--disable-kerberos} \
        --enable-tcpwrappers \
        --enable-ssl
 
This page took 0.031303 seconds and 4 git commands to generate.