Hello community,
here is the log from the commit of package compat-libldap-2_3 for
openSUSE:Factory checked in at 2015-11-17 14:23:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/compat-libldap-2_3 (Old)
and /work/SRC/openSUSE:Factory/.compat-libldap-2_3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "compat-libldap-2_3"
Changes:
--------
--- /work/SRC/openSUSE:Factory/compat-libldap-2_3/compat-libldap-2_3.changes
2015-11-12 19:40:49.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.compat-libldap-2_3.new/compat-libldap-2_3.changes
2015-11-17 14:23:08.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 14 10:50:07 UTC 2015 - [email protected]
+
+- Heed the shared library packaging guideline
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ compat-libldap-2_3.spec ++++++
--- /var/tmp/diff_new_pack.eOqV8G/_old 2015-11-17 14:23:08.000000000 +0100
+++ /var/tmp/diff_new_pack.eOqV8G/_new 2015-11-17 14:23:08.000000000 +0100
@@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: compat-libldap-2_3
Version: 2.3.37
Release: 0
-License: BSD-3-Clause and OLDAP-2.8 and OLDAP-2.8
Summary: A legacy release of OpenLDAP client library
-Url: http://www.openldap.org
+License: BSD-3-Clause and OLDAP-2.8 and OLDAP-2.8
Group: Productivity/Networking/LDAP/Clients
+Url: http://www.openldap.org
Source: openldap-2.3.37.tgz
Patch0: openldap-2.3.37.dif
Patch1: openldap-2.3.37-libldap-suid.diff
@@ -35,10 +36,10 @@
Patch9: openldap-2.3.37-libldap-tls_chkhost-its6239.dif
Patch10: openldap-2.3.37-libldap-ssl.dif
BuildRequires: cyrus-sasl-devel
+BuildRequires: db-devel
BuildRequires: groff
BuildRequires: libopenssl-devel
BuildRequires: libtool
-BuildRequires: db-devel
BuildRequires: openslp-devel
BuildRequires: tcpd-devel
BuildRequires: unixODBC-devel
@@ -47,6 +48,16 @@
%description
OpenLDAP client libraries from 2.3 branch that was last maintained back in
2008.
+%package -n libldap-2_3-0
+Summary: A legacy release of OpenLDAP client library
+Group: System/Libraries
+Obsoletes: compat-libldap-2_3 < %version-%release
+Provides: compat-libldap-2_3 = %version-%release
+
+%description -n libldap-2_3-0
+This package contains the OpenLDAP client libraries in version 2.3,
+last maintained back in 2008.
+
%prep
%setup -q -n openldap-%{version}
%patch0
@@ -63,8 +74,7 @@
%build
%{?suse_update_config:%{suse_update_config -f build}}
-libtoolize --force
-autoreconf
+autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wno-format-extra-args -fno-strict-aliasing
-DLDAP_DEPRECATED -DLDAP_CONNECTIONLESS"
%configure --localstatedir=%{_rundir}/slapd --libexecdir=/usr/lib/openldap \
--enable-aci \
@@ -84,11 +94,13 @@
rm -f %{buildroot}%{_sysconfdir}/openldap/ldap.conf*
rm -f %{buildroot}%{_libdir}/lib{lber,ldap,ldap_r}.{a,la,so}
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n libldap-2_3-0 -p /sbin/ldconfig
+%postun -n libldap-2_3-0 -p /sbin/ldconfig
-%files
+%files -n libldap-2_3-0
%defattr(-,root,root)
%doc README LICENSE COPYRIGHT
%{_libdir}/liblber*2.3.so.*
%{_libdir}/libldap*2.3.so.*
+
+%changelog