From cf3a5b608f44426e35c332fdea975e068eeba66d Mon Sep 17 00:00:00 2001 From: Simon Pichugin Date: Fri, 20 Nov 2020 19:53:03 +0100 Subject: [PATCH] Use ifarch instead of if __isa_bits for compatibility --- openldap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openldap.spec b/openldap.spec index 33b76b9..5adaed4 100644 --- a/openldap.spec +++ b/openldap.spec @@ -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)