From 4d3fac9347b590e5e8ab8fc09505cf1e01a27422 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 10 Feb 2018 18:51:55 +0100 Subject: [PATCH] switch to %systemd_requires Signed-off-by: Igor Gnatenko --- openldap.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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