[packages/heimdal] add without sqlite bcond
glen
glen at pld-linux.org
Tue Feb 25 09:29:33 CET 2014
commit dfcc1bb60f14ae2f06789036da1b779d05de0702
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Feb 25 10:29:19 2014 +0200
add without sqlite bcond
heimdal.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/heimdal.spec b/heimdal.spec
index e660156..b903a48 100644
--- a/heimdal.spec
+++ b/heimdal.spec
@@ -2,9 +2,10 @@
# Conditional build:
%bcond_without x11 # X11-based utilities
%bcond_without ldap # LDAP plugin
+%bcond_without sqlite # Sqlite3 support
%bcond_with openssl # use OpenSSL instead of internal hcrypto
%bcond_with expose_internals # install internal KCM headers
-#
+
Summary: Heimdal implementation of Kerberos V5 system
Summary(pl.UTF-8): Implementacja Heimdal systemu Kerberos V5
Name: heimdal
@@ -56,7 +57,7 @@ BuildRequires: ncurses-devel >= 5.1
BuildRequires: pkgconfig
BuildRequires: readline-devel >= 5.0
BuildRequires: rpmbuild(macros) >= 1.268
-BuildRequires: sqlite3-devel
+%{?with_sqlite:BuildRequires: sqlite3-devel}
BuildRequires: texinfo
%{?with_x11:BuildRequires: xorg-lib-libICE-devel}
%{?with_x11:BuildRequires: xorg-lib-libSM-devel}
@@ -159,7 +160,7 @@ Requires: %{name}-libs-server = %{version}-%{release}
Requires: db-devel
Requires: libcom_err-devel >= 1.41.11
%{?with_openssl:Requires: openssl-devel}
-Requires: sqlite3-devel
+%{?with-sqlite:Requires: sqlite3-devel}
Conflicts: krb5-devel
Conflicts: libgssglue-devel
@@ -447,7 +448,7 @@ cd ../..
--with-hdbdir=%{_localstatedir} \
--with-ipv6 \
--with-readline=/usr \
- --with-sqlite3=/usr \
+ %{?with_sqlite:--with-sqlite3=/usr} \
--without-hesiod \
--with%{!?with_x11:out}-x
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/heimdal.git/commitdiff/dfcc1bb60f14ae2f06789036da1b779d05de0702
More information about the pld-cvs-commit
mailing list