From 01bd7adabbe327dfa3b07a3a381efef7b6411081 Mon Sep 17 00:00:00 2001 From: Simon Pichugin Date: Nov 20 2020 17:24:08 +0000 Subject: Set correct Provides to fix 32-bit builds --- diff --git a/openldap.spec b/openldap.spec index 49d14b7..33b76b9 100644 --- a/openldap.spec +++ b/openldap.spec @@ -7,7 +7,7 @@ Name: openldap Version: 2.4.56 -Release: 2%{?dist} +Release: 3%{?dist} Summary: LDAP support libraries License: OpenLDAP URL: http://www.openldap.org/ @@ -69,7 +69,11 @@ customized LDAP clients. Summary: Package providing legacy non-threded libldap Requires: openldap%{?_isa} = %{version}-%{release} # since libldap is manually linked from libldap_r, the provides is not generated automatically +%if %{__isa_bits} == 32 +Provides: libldap-2.4.so.%{so_ver} +%else Provides: libldap-2.4.so.%{so_ver}()(%{__isa_bits}bit) +%endif %description compat The openldap-compat package contains non-threaded variant of libldap @@ -501,7 +505,10 @@ exit 0 %{_libdir}/libldap-2.4*.so.* %changelog -* Wed Nov 18 2020 Simon Pichugin - 2.4.56-2 +* Fri Nov 20 2020 Simon Pichugin - 2.4.56-3 +- Fix 32-bit libraries build + +* Fri Nov 20 2020 Simon Pichugin - 2.4.56-2 - Drop non-threaded libldap (#1537260) * Wed Nov 18 2020 Simon Pichugin - 2.4.56-1