Pull systemd only from server subpackage

Related: rhbz#2074672
Signed-off-by: Igor Raits <igor.raits@gmail.com>
This commit is contained in:
Igor Raits 2022-04-12 18:46:43 +00:00
parent 5f2790721d
commit e959f03ed4
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E
1 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@
Name: openldap
Version: 2.4.59
Release: 4%{?dist}
Release: 5%{?dist}
Summary: LDAP support libraries
License: OpenLDAP
URL: http://www.openldap.org/
@ -67,7 +67,6 @@ BuildRequires: cyrus-sasl-devel, openssl-devel, krb5-devel, unixODBC-devel
BuildRequires: glibc-devel, libtool, libtool-ltdl-devel, groff, perl-interpreter, perl-devel, perl-generators, perl(ExtUtils::Embed)
BuildRequires: gcc
BuildRequires: systemd
%{?systemd_requires}
BuildRequires: libdb-devel
BuildRequires: cracklib-devel
@ -112,6 +111,7 @@ which provides thread-safe variant with the very same API.
Summary: LDAP server
License: OpenLDAP
Requires: openldap%{?_isa} = %{version}-%{release}, libdb-utils
%{?systemd_requires}
Requires(pre): shadow-utils
# migrationtools (slapadd functionality):
Provides: ldif2ldbm
@ -580,6 +580,9 @@ exit 0
%{_libdir}/libldap-2.4*.so.*
%changelog
* Tue Apr 22 2022 Igor Raits <igor.raits@gmail.com> - 2.4.59-5
- Pull systemd only from server subpackage
* Wed Dec 15 2021 Viktor Ashirov <vashirov@redhat.com> - 2.4.59-4
- Add "with servers" conditional
Related: rhbz#2030665