SPECS: horde.spec - enable core.schema in -schema package

glen glen at pld-linux.org
Sat Sep 17 00:34:25 CEST 2005


Author: glen                         Date: Fri Sep 16 22:34:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- enable core.schema in -schema package

---- Files affected:
SPECS:
   horde.spec (1.99 -> 1.100) 

---- Diffs:

================================================================
Index: SPECS/horde.spec
diff -u SPECS/horde.spec:1.99 SPECS/horde.spec:1.100
--- SPECS/horde.spec:1.99	Thu Sep 15 17:34:21 2005
+++ SPECS/horde.spec	Sat Sep 17 00:34:20 2005
@@ -202,6 +202,10 @@
 			i\
 include		%{schemadir}/horde.schema
 		}
+		# enable dependant schemas: core.schema
+		/^#include.*\(core\)\.schema/{
+			s/^#//
+		}
 	' /etc/openldap/slapd.conf
 fi
 
@@ -214,6 +218,9 @@
 	if grep -q %{schemadir}/horde.schema /etc/openldap/slapd.conf; then
 		sed -i -e '
 		/^include.*\/usr\/share\/openldap\/schema\/horde.schema/d
+
+		# for symmetry it would be nice if we disable enabled schemas in post,
+		# but we really can not do that, it would break something else.
 		' /etc/openldap/slapd.conf
 	fi
 
@@ -321,6 +328,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.100  2005/09/16 22:34:20  glen
+- enable core.schema in -schema package
+
 Revision 1.99  2005/09/15 15:34:21  glen
 - add R sed on openldap-schema, as R(post,postun) is not enough, rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/horde.spec?r1=1.99&r2=1.100&f=u




More information about the pld-cvs-commit mailing list