[perl-Net-SSH2/el6] Avoid libssh2 bug #826511

Petr Šabata psabata at fedoraproject.org
Wed Jul 4 12:02:02 UTC 2012


commit d1f00b96ed8782e5b91c69f542d73575d004e925
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Jul 4 14:00:57 2012 +0200

    Avoid libssh2 bug #826511

 perl-Net-SSH2.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec
index 0f4d174..ce84127 100644
--- a/perl-Net-SSH2.spec
+++ b/perl-Net-SSH2.spec
@@ -1,6 +1,6 @@
 Name:           perl-Net-SSH2
 Version:        0.45
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Support for the SSH 2 protocol via libSSH2
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -17,7 +17,9 @@ BuildRequires:  perl(Test::More)
 # non-perl
 BuildRequires:  zlib-devel
 BuildRequires:  openssl-devel
-BuildRequires:  libssh2-devel >= 0.18
+# Avoid #826511
+BuildRequires:  libssh2-devel >= 1.2.2-11
+Requires:       libssh2 >= 1.2.2-11
 
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
@@ -54,6 +56,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jul 04 2012 Petr Šabata <contyk at redhat.com> - 0.45-2
+- Avoid libssh2 bug #826511
+
 * Thu Jun 28 2012 Petr Šabata <contyk at redhat.com> - 0.45-1
 - 0.45 bump (docs update)
 


More information about the scm-commits mailing list