From 65981156b8fb16b52903d42bd138ca4c095f9e0b Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sat, 24 Feb 2001 00:05:29 +0000 Subject: - (bal) pam_stack fix to correctly detect between RH7 and older RHs. Patch by Pekka Savola --- contrib/redhat/openssh.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'contrib/redhat/openssh.spec') diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index b7c25159d..f27cc5504 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec @@ -36,10 +36,10 @@ Source1: http://www.jmknoble.cx/software/x11-ssh-askpass/x11-ssh-askpass-%{avers %endif Copyright: BSD Group: Applications/Internet -BuildRoot: /tmp/openssh-%{version}-buildroot +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Obsoletes: ssh PreReq: openssl >= 0.9.5a -RreReq: openssl = %{exact_openssl_version} +PreReq: openssl = %{exact_openssl_version} Requires: openssl >= 0.9.5a Requires: rpm >= 3.0.5 BuildPreReq: perl, openssl-devel, tcp_wrappers @@ -61,6 +61,9 @@ Group: System Environment/Daemons Obsoletes: ssh-server PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9 Requires: initscripts >= 4.16 +%if %{redhat7} +Requires: /etc/pam.d/system-auth +%endif %package askpass Summary: OpenSSH X11 passphrase dialog -- cgit v1.2.3