Hello community,

here is the log from the commit of package openldap2 for openSUSE:Factory 
checked in at 2016-08-03 11:38:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openldap2 (Old)
 and      /work/SRC/openSUSE:Factory/.openldap2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openldap2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openldap2/openldap2.changes      2016-06-29 
15:08:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openldap2.new/openldap2.changes 2016-08-03 
11:38:26.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jun 23 22:46:29 UTC 2016 - [email protected]
+
+- Test for user/group existence before trying to add them.
+  Summary spello update.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openldap2.spec ++++++
--- /var/tmp/diff_new_pack.99PBmp/_old  2016-08-03 11:38:27.000000000 +0200
+++ /var/tmp/diff_new_pack.99PBmp/_new  2016-08-03 11:38:27.000000000 +0200
@@ -134,7 +134,7 @@
 to do any programming.
 
 %package -n libldap-data
-Summary:        Configuration file for system-wide defaults for all usages of 
libldap.
+Summary:        Configuration file for system-wide defaults for all uses of 
libldap
 Group:          Productivity/Networking/LDAP
 %if 0%{?suse_version} != 1110
 BuildArch:      noarch
@@ -170,14 +170,10 @@
 %if 0%{?suse_version} > 1110
 BuildArch:      noarch
 %endif
+
 %description doc
 The OpenLDAP Admin Guide plus a set of OpenLDAP related IETF internet drafts.
 
-Authors:
---------
-    The OpenLDAP Project <[email protected]>
-
-
 %package client
 Summary:        OpenLDAP client utilities
 Group:          Productivity/Networking/LDAP/Clients
@@ -426,8 +422,8 @@
 rm -f  ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
 
 %pre
-/usr/sbin/groupadd -g 70 -o -r ldap || :
-/usr/sbin/useradd -r -o -g ldap -u 76 -s /bin/false -c "User for OpenLDAP" -d 
/var/lib/ldap ldap || :
+getent group ldap >/dev/null || /usr/sbin/groupadd -g 70 -o -r ldap || :
+getent passwd ldap >/dev/null || /usr/sbin/useradd -r -o -g ldap -u 76 -s 
/bin/false -c "User for OpenLDAP" -d /var/lib/ldap ldap || :
 if /usr/bin/chkconfig ldap 2>&1 | grep -q on; then
     touch %{_rundir}/enable_slapd_service
 fi


Reply via email to