diff --git a/evolution-data-server.spec b/evolution-data-server.spec index b9432bf..588099e 100644 --- a/evolution-data-server.spec +++ b/evolution-data-server.spec @@ -98,11 +98,9 @@ BuildRequires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk_version} BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version} %if %{ldap_support} -%if %{static_ldap} -BuildRequires: openldap-devel%{?_isa} -BuildRequires: pkgconfig(openssl) -%else BuildRequires: openldap-devel >= 2.0.11 +%if %{static_ldap} +BuildRequires: pkgconfig(openssl) %endif %endif