From 379f205a164ac0ede684f05635fe37fba30198b1 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 23 Feb 2001 04:55:46 +0000 Subject: - (bal) Patch to force OpenSSH rpm to require the same version of OpenSSL that it was compiled against. Patch by Pekka Savola --- contrib/redhat/openssh.spec | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/redhat') 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 @@ # rpm -ba|--rebuild --define "rh7 1" %{?rh7:%define redhat7 1} +%define exact_openssl_version %(rpm -q openssl | cut -d - -f 2) + Summary: OpenSSH free Secure Shell (SSH) implementation Name: openssh Version: %{oversion} @@ -37,6 +39,7 @@ Group: Applications/Internet BuildRoot: /tmp/openssh-%{version}-buildroot Obsoletes: ssh PreReq: openssl >= 0.9.5a +RreReq: openssl = %{exact_openssl_version} Requires: openssl >= 0.9.5a Requires: rpm >= 3.0.5 BuildPreReq: perl, openssl-devel, tcp_wrappers -- cgit v1.2.3