From bcf7f9a3c99967e69e6b7993e1ed07c31d09fff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 19 Apr 2012 14:53:26 +0200 Subject: [PATCH] Spec changes for 0c82b0f6 --- perl-Net-SSH2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec index 024920e..8ef7649 100644 --- a/perl-Net-SSH2.spec +++ b/perl-Net-SSH2.spec @@ -6,6 +6,8 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-SSH2/ Source0: http://search.cpan.org/CPAN/authors/id/R/RK/RKITOVER/Net-SSH2-%{version}.tar.gz +# Avoid the EE::MM CCFLAGS bug +Patch0: Net-SSH2-0.41-Makefile.patch Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) @@ -28,6 +30,7 @@ all of the key exchanges, ciphers, and compression of libssh2. %prep %setup -q -n Net-SSH2-%{version} +%patch0 -p1 -b .makefile perl -pi -e 's|^#!perl|#!%{__perl}|' example/* %build