diff --git a/openldap.spec b/openldap.spec index 8ac6782..1a02203 100644 --- a/openldap.spec +++ b/openldap.spec @@ -42,7 +42,7 @@ Patch200: openldap-evolution-ntlm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: cyrus-sasl-devel >= 2.1, nss-devel, krb5-devel, tcp_wrappers-devel, unixODBC-devel +BuildRequires: cyrus-sasl-devel, nss-devel, krb5-devel, tcp_wrappers-devel, unixODBC-devel BuildRequires: glibc-devel, libtool, libtool-ltdl-devel, groff, perl # smbk5pwd overlay: BuildRequires: openssl-devel @@ -59,8 +59,8 @@ libraries, and documentation for OpenLDAP. %package devel Summary: LDAP development libraries and header files Group: Development/Libraries -Requires: openldap = %{version}-%{release}, cyrus-sasl-devel >= 2.1 -Provides: openldap-evolution-devel = %{version}-%{release} +Requires: openldap%{?_isa} = %{version}-%{release}, cyrus-sasl-devel%{?_isa} +Provides: openldap-evolution-devel%{?_isa} = %{version}-%{release} %description devel The openldap-devel package includes the development libraries and @@ -73,12 +73,12 @@ customized LDAP clients. %package servers Summary: LDAP server License: OpenLDAP -Requires: openldap = %{version}-%{release}, libdb-utils, openssl +Requires: openldap%{?_isa} = %{version}-%{release}, libdb-utils, nss-utils Requires(pre): shadow-utils Requires(post): systemd-units, systemd-sysv, chkconfig Requires(preun): systemd-units Requires(postun): systemd-units -BuildRequires: libdb-devel >= 5.0, libdb-devel < 5.3 +BuildRequires: libdb-devel%{?_isa} BuildRequires: systemd-units Group: System Environment/Daemons @@ -92,7 +92,7 @@ over the Internet. This package contains the slapd server and related files. %package servers-sql Summary: SQL support module for OpenLDAP server -Requires: openldap-servers = %{version}-%{release} +Requires: openldap-servers%{?_isa} = %{version}-%{release} Group: System Environment/Daemons %description servers-sql @@ -106,7 +106,7 @@ slapd server can use to read data from an RDBMS. %package clients Summary: LDAP client utilities -Requires: openldap = %{version}-%{release} +Requires: openldap%{?_isa} = %{version}-%{release} Group: Applications/Internet %description clients