Don't link directly with perl or sql libraries -- they're pulled in by
demand-loaded backends.
---- openldap-2.3.11/build/top.mk.nosql 2005-08-29 14:46:17.000000000 -0400
-+++ openldap-2.3.11/build/top.mk 2005-10-28 21:15:15.000000000 -0400
-@@ -197,7 +197,7 @@
+--- openldap-2.4.49/build/top.mk.orig 2020-02-26 19:49:38.964606730 +0100
++++ openldap-2.4.49/build/top.mk 2020-02-26 19:57:31.642046017 +0100
+@@ -200,7 +200,7 @@
SLAPD_SQL_INCLUDES = @SLAPD_SQL_INCLUDES@
SLAPD_SQL_LIBS = @SLAPD_SQL_LIBS@
--SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS)
-+SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@ $(ICU_LIBS)
+-SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@
++SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@
# Our Defaults
CC = $(AC_CC)
Summary(ru.UTF-8): Образцы клиентов LDAP
Summary(uk.UTF-8): Зразки клієнтів LDAP
Name: openldap
-Version: 2.4.48
-Release: 2
+Version: 2.4.49
+Release: 1
License: OpenLDAP Public License
Group: Networking/Daemons
Source0: ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
-# Source0-md5: 0729a0711fe096831dedc159e0bbe73f
+# Source0-md5: 2a47a6bb4319357ea7b032c45283e79e
Source1: http://download.oracle.com/berkeley-db/db-%{db_version}.tar.gz
# Source1-md5: 718082e7e35fc48478a2334b0bc4cd11
Source2: ldap.init
BuildRequires: automake
%if %{with sasl}
BuildRequires: cyrus-sasl-devel >= 2.1.15
-BuildRequires: libicu-devel
%endif
%if %{with system_db}
BuildRequires: db-devel >= 4.4