Set correct Provides to fix 32-bit builds
This commit is contained in:
parent
09678ce9b0
commit
01bd7adabb
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: openldap
|
Name: openldap
|
||||||
Version: 2.4.56
|
Version: 2.4.56
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: LDAP support libraries
|
Summary: LDAP support libraries
|
||||||
License: OpenLDAP
|
License: OpenLDAP
|
||||||
URL: http://www.openldap.org/
|
URL: http://www.openldap.org/
|
||||||
@ -69,7 +69,11 @@ customized LDAP clients.
|
|||||||
Summary: Package providing legacy non-threded libldap
|
Summary: Package providing legacy non-threded libldap
|
||||||
Requires: openldap%{?_isa} = %{version}-%{release}
|
Requires: openldap%{?_isa} = %{version}-%{release}
|
||||||
# since libldap is manually linked from libldap_r, the provides is not generated automatically
|
# 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)
|
Provides: libldap-2.4.so.%{so_ver}()(%{__isa_bits}bit)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description compat
|
%description compat
|
||||||
The openldap-compat package contains non-threaded variant of libldap
|
The openldap-compat package contains non-threaded variant of libldap
|
||||||
@ -501,7 +505,10 @@ exit 0
|
|||||||
%{_libdir}/libldap-2.4*.so.*
|
%{_libdir}/libldap-2.4*.so.*
|
||||||
|
|
||||||
%changelog
|
%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)
|
- Drop non-threaded libldap (#1537260)
|
||||||
|
|
||||||
* Wed Nov 18 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-1
|
* Wed Nov 18 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.56-1
|
||||||
|
Loading…
Reference in New Issue
Block a user