packages: krb5/krb5.spec - enable tests - build without selinux (selinux pa...

baggins baggins at pld-linux.org
Thu Jun 4 15:58:50 CEST 2009


Author: baggins                      Date: Thu Jun  4 13:58:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- enable tests
- build without selinux (selinux patch breaks linking)

---- Files affected:
packages/krb5:
   krb5.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: packages/krb5/krb5.spec
diff -u packages/krb5/krb5.spec:1.136 packages/krb5/krb5.spec:1.137
--- packages/krb5/krb5.spec:1.136	Thu Jun  4 15:39:01 2009
+++ packages/krb5/krb5.spec	Thu Jun  4 15:58:44 2009
@@ -8,7 +8,8 @@
 %bcond_with	krb4		# build with Kerberos V4 support
 %bcond_without	tcl		# build without tcl (tcl is needed for tests)
 %bcond_without	openldap	# don't build openldap plugin
-%bcond_with	tests		# perform make check
+%bcond_with	selinux		# build with selinux support
+%bcond_without	tests		# perform make check
 #
 Summary:	Kerberos V5 System
 Summary(pl.UTF-8):	System Kerberos V5
@@ -105,7 +106,7 @@
 %{?with_openldap:BuildRequires:	openldap-devel >= 2.4.6}
 BuildRequires:	openssl-devel >= 0.9.8
 BuildRequires:	pam-devel
-BuildRequires:	libselinux-devel
+%{?with_selinux:BuildRequires:	libselinux-devel}
 BuildRequires:	rpmbuild(macros) >= 1.268
 %{?with_tcl:BuildRequires:	tcl-devel}
 %if %{with doc}
@@ -659,6 +660,7 @@
 	CPPFLAGS="$CPPFLAGS" \
 	%{?with_openldap:OPENLDAP_PLUGIN=yes} \
 	%{!?with_openldap:OPENLDAP_PLUGIN=""} \
+	--with%{!?with_selinux:out}-selinux \
 	--libexecdir=%{_libdir} \
 	--enable-shared \
 	%{?with_krb4:--with-krb4} \
@@ -1039,6 +1041,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2009/06/04 13:58:44  baggins
+- enable tests
+- build without selinux (selinux patch breaks linking)
+
 Revision 1.136  2009/06/04 13:39:01  baggins
 - disable net tests
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/krb5/krb5.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list