switch to %systemd_requires

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-10 18:51:55 +01:00
parent c358051be4
commit 4d3fac9347
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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