summaryrefslogtreecommitdiff
path: root/contrib/redhat/openssh.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redhat/openssh.spec')
-rw-r--r--contrib/redhat/openssh.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index b09a9aaa5..1e18aa9e1 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -190,9 +190,9 @@ install -d $RPM_BUILD_ROOT/etc/pam.d/
190install -d $RPM_BUILD_ROOT/etc/rc.d/init.d 190install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
191install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh 191install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh
192%if %{redhat7} 192%if %{redhat7}
193install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
194%else
195install -m644 contrib/redhat/sshd.pam-7.x $RPM_BUILD_ROOT/etc/pam.d/sshd 193install -m644 contrib/redhat/sshd.pam-7.x $RPM_BUILD_ROOT/etc/pam.d/sshd
194%else
195install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
196%endif 196%endif
197install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd 197install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
198 198