From 0780f33c5f4663a512ceb5e1d66b63443619225a Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Jan 27 2018 09:57:06 +0000 Subject: 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/ --- diff --git a/openssh.spec b/openssh.spec index 04f853f..d7982ea 100644 --- a/openssh.spec +++ b/openssh.spec @@ -258,7 +258,7 @@ BuildRequires: pam-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 @@ -291,9 +291,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