rpms/openldap/devel openldap.spec,1.164,1.165

Jan Zeleny jzeleny at fedoraproject.org
Thu Jul 1 07:49:50 UTC 2010


Author: jzeleny

Update of /cvs/extras/rpms/openldap/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv10496

Modified Files:
	openldap.spec 
Log Message:
Fixed issue with owner of /usr/lib/ldap/__db.* (#609523)



Index: openldap.spec
===================================================================
RCS file: /cvs/extras/rpms/openldap/devel/openldap.spec,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -p -r1.164 -r1.165
--- openldap.spec	28 Jun 2010 15:09:11 -0000	1.164
+++ openldap.spec	1 Jul 2010 07:49:49 -0000	1.165
@@ -11,7 +11,7 @@
 Summary: LDAP support libraries
 Name: openldap
 Version: %{version}
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: OpenLDAP
 Group: System Environment/Daemons
 Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
@@ -505,6 +505,9 @@ fi
 # If there's a /var/lib/ldap/need_db_upgrade file, run db_upgrade and delete it.
 # It was created by the % pre above.
 if [ -f /var/lib/ldap/need_db_upgrade ]; then
+	if ls /var/lib/ldap/*.bdb > /dev/null 2>&1; then
+		/sbin/runuser -m -s /usr/sbin/slapd_db_upgrade -- "ldap"  -h /var/lib/ldap /var/lib/ldap/*.bdb
+	fi
     /sbin/runuser -m -s /usr/sbin/slapd_db_upgrade -- "ldap"  -h /var/lib/ldap /var/lib/ldap/*.bdb
     /sbin/runuser -m -s /usr/sbin/slapd_db_checkpoint -- "ldap" -h /var/lib/ldap -1
     rm -f /var/lib/ldap/need_db_upgrade
@@ -652,6 +655,9 @@ fi
 %attr(0644,root,root)      %{evolution_connector_libdir}/*.a
 
 %changelog
+* Thu Jul 01 2010 Jan Zeleny <jzeleny at redhat.com> - 2.4.22-4
+- fixed issue with owner of /usr/lib/ldap/__db.* (#609523)
+
 * Thu Jun  3 2010 Rich Megginson <rmeggins at redhat.com> - 2.4.22-3
 - added ldif.h to the public api in the devel package
 - added -lldif to the public api



More information about the scm-commits mailing list