Use ifarch instead of if __isa_bits for compatibility

This commit is contained in:
Simon Pichugin 2020-11-20 19:53:03 +01:00
parent 01bd7adabb
commit cf3a5b608f

View File

@ -69,7 +69,7 @@ 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
%ifarch armv7hl i686
Provides: libldap-2.4.so.%{so_ver}
%else
Provides: libldap-2.4.so.%{so_ver}()(%{__isa_bits}bit)