#5 Set correct Provides to fix 32-bit builds
Merged a year ago by spichugi. Opened a year ago by spichugi.
rpms/ spichugi/openldap fix-32-builds  into  master

file modified
+9 -2
@@ -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 @@ 

  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 @@ 

  %{_libdir}/libldap-2.4*.so.*

  

  %changelog

- * Wed Nov 18 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-2

+ * Fri Nov 20 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-3

+ - Fix 32-bit libraries build

+ 

+ * Fri Nov 20 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-2

  - Drop non-threaded libldap (#1537260)

  

  * Wed Nov 18 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-1

no initial comment

Pull-Request has been merged by spichugi

a year ago
Metadata