[packages/ack] - fix R: for strange version of File::Glob

draenog draenog at pld-linux.org
Mon Apr 22 19:03:08 CEST 2013


commit 7ce2421c977ea85b3078f9b855185f628f0a514c
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Mon Apr 22 18:01:25 2013 +0100

    - fix R: for strange version of File::Glob

 ack-deps.patch | 13 +++++++++++++
 ack.spec       |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/ack.spec b/ack.spec
index e70f2cb..4a4bb74 100644
--- a/ack.spec
+++ b/ack.spec
@@ -15,6 +15,7 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
 # Source0-md5:	9ae2c3939d0f069c6781ee5b6de47c27
+Patch0:		%{name}-deps.patch
 URL:		http://betterthangrep.com/
 %if %{with tests}
 BuildRequires:	perl-File-Next >= 1.10
@@ -57,6 +58,7 @@ ack perl library.
 
 %prep
 %setup -q -n %{pdir}-%{version}
+%patch0 -p0
 
 %build
 %{__perl} Makefile.PL \
diff --git a/ack-deps.patch b/ack-deps.patch
new file mode 100644
index 0000000..4eabfd8
--- /dev/null
+++ b/ack-deps.patch
@@ -0,0 +1,13 @@
+--- Ack.pm~	2013-04-19 05:47:53.000000000 +0100
++++ Ack.pm	2013-04-22 16:50:14.000000000 +0100
+@@ -46,8 +46,8 @@
+ our $is_cygwin;
+ our $is_windows;
+ 
+-use File::Spec 1.00015 ();
+-use File::Glob 1.00015 ':glob';
++use File::Spec 1.0 ();
++use File::Glob 1.0 ':glob';
+ 
+ BEGIN {
+     # These have to be checked before any filehandle diddling.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ack.git/commitdiff/7ce2421c977ea85b3078f9b855185f628f0a514c



More information about the pld-cvs-commit mailing list