rpms/openldap/F-13 openldap.spec,1.162,1.163

Jan Zeleny jzeleny at fedoraproject.org
Thu Jul 1 09:51:15 UTC 2010


Author: jzeleny

Update of /cvs/extras/rpms/openldap/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23640

Modified Files:
	openldap.spec 
Log Message:
another shot at previous fix


Index: openldap.spec
===================================================================
RCS file: /cvs/extras/rpms/openldap/F-13/openldap.spec,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -p -r1.162 -r1.163
--- openldap.spec	30 Jun 2010 17:22:39 -0000	1.162
+++ openldap.spec	1 Jul 2010 09:51:14 -0000	1.163
@@ -11,7 +11,7 @@
 Summary: LDAP support libraries
 Name: openldap
 Version: %{version}
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: OpenLDAP
 Group: System Environment/Daemons
 Source0: ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/openldap-%{version}.tgz
@@ -488,7 +488,6 @@ if [ -f /var/lib/ldap/need_db_upgrade ];
 	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
 fi
@@ -530,6 +529,7 @@ EOF
     chmod -R 000 %{_sysconfdir}/openldap/slapd.d
     chmod -R u+rwX %{_sysconfdir}/openldap/slapd.d
     rm -f %{_sysconfdir}/openldap/slapd.conf
+	rm -f %{_sharedstatedir}/ldap/__db* %{_sharedstatedir}/ldap/alock
 fi
 
 
@@ -634,6 +634,9 @@ fi
 %attr(0644,root,root)      %{evolution_connector_libdir}/*.a
 
 %changelog
+* Thu Jul 01 2010 Jan Zeleny <jzeleny at redhat.com> - 2.4.21-9
+- another shot at previous fix
+
 * Wed Jun 30 2010 Jan Zeleny <jzeleny at redhat.com> - 2.4.21-8
 - fixed issue with owner of /usr/lib/ldap/__db.* (#609523)
 



More information about the scm-commits mailing list