add tests, krb5 bcond
authorElan Ruusamäe <glen@delfi.ee>
Sun, 1 May 2016 10:01:04 +0000 (13:01 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 1 May 2016 10:01:37 +0000 (13:01 +0300)
does not build right now as heimdal patch needs updating
(where is it's origin?)

sssd.spec

index 5382dcc5dc58d9efbc1c357e593f6b1f1c6af3d5..73ef7db5762f28d2d69f6734530b8c5176a82655 100644 (file)
--- a/sssd.spec
+++ b/sssd.spec
@@ -5,8 +5,10 @@
 #   *** WARNING: no sources found for /usr/lib64/libipa_hbac.so.0.0.0 (stripped without sourcefile information?)
 #
 # Conditional build:
+%bcond_with    tests           # build with tests
 %bcond_without python2 # CPython 2.x module
 %bcond_with    python3 # CPython 3.x module
+%bcond_without krb5 # Build without krb5 support
 
 %define                ldb_version 1.1.0
 Summary:       System Security Services Daemon
@@ -333,6 +335,9 @@ Pliki nagłówkowe biblioteki libsss_simpleifp.
        --with%{!?with_python2:out}-python2-bindings \
        --with%{!?with_python3:out}-python3-bindings \
        --with-systemdunitdir=%{systemdunitdir} \
+%if %{without krb5}
+       --disable-krb5-locator-plugin \
+%endif
        --with-test-dir=/dev/shm
 
 %{__make}
This page took 0.097949 seconds and 4 git commands to generate.