From 0ed404cb1d5382cf0a89ec0ec5dc5bbb3ad3d85f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Sat, 27 Jan 2018 10:57:04 +0100 Subject: [PATCH] removal of systemd-units and conforming to packaging guidelines Per announcement on fedora-devel: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LLG4T53FW2BGVZLGLKNYTKPD5SQNBZ2Y/ --- openssh.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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