diff --git a/openldap.spec b/openldap.spec index 25b067a..760a649 100644 --- a/openldap.spec +++ b/openldap.spec @@ -84,9 +84,7 @@ Summary: LDAP server License: OpenLDAP Requires: openldap%{?_isa} = %{version}-%{release}, libdb-utils Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd +%{?systemd_requires} BuildRequires: libdb-devel BuildRequires: systemd-units BuildRequires: cracklib-devel