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.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 1e18aa9e1..b7c25159d 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -22,6 +22,8 @@
22# rpm -ba|--rebuild --define "rh7 1" 22# rpm -ba|--rebuild --define "rh7 1"
23%{?rh7:%define redhat7 1} 23%{?rh7:%define redhat7 1}
24 24
25%define exact_openssl_version %(rpm -q openssl | cut -d - -f 2)
26
25Summary: OpenSSH free Secure Shell (SSH) implementation 27Summary: OpenSSH free Secure Shell (SSH) implementation
26Name: openssh 28Name: openssh
27Version: %{oversion} 29Version: %{oversion}
@@ -37,6 +39,7 @@ Group: Applications/Internet
37BuildRoot: /tmp/openssh-%{version}-buildroot 39BuildRoot: /tmp/openssh-%{version}-buildroot
38Obsoletes: ssh 40Obsoletes: ssh
39PreReq: openssl >= 0.9.5a 41PreReq: openssl >= 0.9.5a
42RreReq: openssl = %{exact_openssl_version}
40Requires: openssl >= 0.9.5a 43Requires: openssl >= 0.9.5a
41Requires: rpm >= 3.0.5 44Requires: rpm >= 3.0.5
42BuildPreReq: perl, openssl-devel, tcp_wrappers 45BuildPreReq: perl, openssl-devel, tcp_wrappers