SPECS: apache-mod_cfg_ldap.spec, amavisd-new.spec - register openl...

zbyniu zbyniu at pld-linux.org
Tue Feb 20 23:25:48 CET 2007


Author: zbyniu                       Date: Tue Feb 20 22:25:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- register openldap schema

---- Files affected:
SPECS:
   apache-mod_cfg_ldap.spec (1.19 -> 1.20) , amavisd-new.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_cfg_ldap.spec
diff -u SPECS/apache-mod_cfg_ldap.spec:1.19 SPECS/apache-mod_cfg_ldap.spec:1.20
--- SPECS/apache-mod_cfg_ldap.spec:1.19	Sun Feb 18 18:52:41 2007
+++ SPECS/apache-mod_cfg_ldap.spec	Tue Feb 20 23:25:43 2007
@@ -16,7 +16,7 @@
 BuildRequires:	apache-devel >= 2.0
 BuildRequires:	db-devel >= 4.2.52
 BuildRequires:	openldap-devel >= 2.3.0
-BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	rpmbuild(macros) >= 1.304
 Requires:	apache(modules-api) = %apache_modules_api
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,10 +33,10 @@
 w katalogu LDAP i uaktualnianie jej prawie w czasie rzeczywistym.
 
 %package -n openldap-schema-mod_cfg_ldap
-Summary:       mod_cfg_ldap LDAP schema
-Summary(pl.UTF-8):     Schemat LDAP dla mod_cfg_ldap
-Group:         Networking/Daemons
-Requires:      openldap-servers
+Summary:	mod_cfg_ldap LDAP schema
+Summary(pl.UTF-8):	Schemat LDAP dla mod_cfg_ldap
+Group:		Networking/Daemons
+Requires:	openldap-servers
 
 %description -n openldap-schema-mod_cfg_ldap
 This package contains LDAP schema for use with mod_cfg_ldap.
@@ -71,6 +71,16 @@
 	%service -q httpd restart
 fi
 
+%post -n openldap-schema-mod_cfg_ldap
+%openldap_schema_register %{schemadir}/mod_cfg_ldap.schema
+%service -q ldap restart
+
+%postun -n openldap-schema-mod_cfg_ldap
+if [ "$1" = "0" ]; then
+	%openldap_schema_unregister %{schemadir}/mod_cfg_ldap.schema
+	%service -q ldap restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog INSTALL README TODO
@@ -87,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/02/20 22:25:43  zbyniu
+- register openldap schema
+
 Revision 1.19  2007/02/18 17:52:41  qboosh
 - fixed schema summaries
 

================================================================
Index: SPECS/amavisd-new.spec
diff -u SPECS/amavisd-new.spec:1.108 SPECS/amavisd-new.spec:1.109
--- SPECS/amavisd-new.spec:1.108	Sat Feb 17 02:14:05 2007
+++ SPECS/amavisd-new.spec	Tue Feb 20 23:25:43 2007
@@ -23,7 +23,7 @@
 URL:		http://www.ijs.si/software/amavisd/
 BuildRequires:	autoconf
 BuildRequires:	rpm-perlprov
-BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	rpmbuild(macros) >= 1.304
 BuildRequires:	sendmail-devel
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
@@ -169,6 +169,16 @@
 	/sbin/chkconfig --del amavis-milter
 fi
 
+%post -n openldap-schema-amavisd-new
+%openldap_schema_register %{schemadir}/amavisd-new.schema
+%service -q ldap restart
+
+%postun -n openldap-schema-amavisd-new
+if [ "$1" = "0" ]; then
+	%openldap_schema_unregister %{schemadir}/amavisd-new.schema
+	%service -q ldap restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AAAREADME.first INSTALL RELEASE_NOTES README_FILES/* test-messages
@@ -195,6 +205,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2007/02/20 22:25:43  zbyniu
+- register openldap schema
+
 Revision 1.108  2007/02/17 01:14:05  zbyniu
 - openldap-schema-amavisd-new subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_cfg_ldap.spec?r1=1.19&r2=1.20&f=u
    http://cvs.pld-linux.org/SPECS/amavisd-new.spec?r1=1.108&r2=1.109&f=u



More information about the pld-cvs-commit mailing list