diff --git a/openssh.spec b/openssh.spec index 888c5e2..76a5b04 100644 --- a/openssh.spec +++ b/openssh.spec @@ -262,7 +262,7 @@ BuildRequires: tcp_wrappers-devel BuildRequires: fipscheck-devel >= 1.3.0 BuildRequires: openssl-devel >= 0.9.8j BuildRequires: perl-podlators -BuildRequires: systemd-devel +BuildRequires: systemd %if %{kerberos5} BuildRequires: krb5-devel @@ -295,9 +295,7 @@ Requires: openssh = %{version}-%{release} Requires(pre): /usr/sbin/useradd Requires: pam >= 1.0.1-3 Requires: fipscheck-lib%{_isa} >= 1.3.0 -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units +%{?systemd_requires} %if %{ldap} %package ldap