From 2338633266ad8c04398e44786bbc3b65357cf7e5295beba7fe4ca24e34df6c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Str=C3=B6der?= Date: Thu, 24 May 2018 11:27:29 +0000 Subject: [PATCH] Accepting request 611856 from home:kukuk:branches:network:ldap - Don't require systemd explicit, spec file can handle both cases correct and in containers we don't have systemd. OBS-URL: https://build.opensuse.org/request/show/611856 OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=211 --- openldap2.changes | 6 ++++++ openldap2.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/openldap2.changes b/openldap2.changes index 4e8a174..ac2d776 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 24 11:59:02 CEST 2018 - kukuk@suse.de + +- Don't require systemd explicit, spec file can handle both cases + correct and in containers we don't have systemd. + ------------------------------------------------------------------- Tue Apr 24 16:35:09 UTC 2018 - zsolt.kalmar@suse.com diff --git a/openldap2.spec b/openldap2.spec index e128ea2..ed4f437 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -84,8 +84,10 @@ BuildRequires: unixODBC-devel # avoid cycle with krb5 BuildRequires: krb5-mini BuildRequires: pkgconfig(systemd) +%if %{suse_version} < 1500 %{?systemd_requires} %endif +%endif Requires: libldap-2_4-2 = %{version_main} Recommends: cyrus-sasl Conflicts: openldap