]> git.pld-linux.org Git - packages/ack.git/commitdiff
- fix R: for strange version of File::Glob
authorKacper Kornet <draenog@pld-linux.org>
Mon, 22 Apr 2013 17:01:25 +0000 (18:01 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Mon, 22 Apr 2013 17:01:25 +0000 (18:01 +0100)
ack-deps.patch [new file with mode: 0644]
ack.spec

diff --git a/ack-deps.patch b/ack-deps.patch
new file mode 100644 (file)
index 0000000..4eabfd8
--- /dev/null
@@ -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.
index e70f2cbd4ab56cf651e384f82f42ce899b16bfc5..4a4bb74d81b9d955290dcca0c92e799efa890fef 100644 (file)
--- 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 \
This page took 0.084806 seconds and 4 git commands to generate.