SHA256
1
0
forked from pool/ack
Pascal Bleser
2010-11-12 00:02:53 +00:00
committed by Git OBS Bridge
parent 1db986a51a
commit b2631aa426
2 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
--- t/longopts.t.orig 2010-11-12 00:24:07.000000000 +0100
+++ t/longopts.t 2010-11-12 00:29:48.000000000 +0100
@@ -9,7 +9,7 @@
=cut
-use Test::More tests => 51;
+use Test::More tests => 49;
use File::Next 0.34; # For the reslash() function
use lib 't';
@@ -65,11 +65,6 @@
qr{UPPER CASE},
qq{$opt turn on ignore-case when PATTERN has no upper}
);
- unlike(
- +run_ack( $opt, 'Upper case', @files ),
- qr{UPPER CASE},
- qq{$opt does nothing when PATTERN has upper}
- );
option_in_usage( '--[no]smart-case' );
like(

View File

@@ -6,6 +6,7 @@ Release: 0
Summary: Grep-Like Text Finder
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
Patch1: ack-ignore-osc.patch
Patch2: ack-fix_smartcase_test_for_old_perl.patch
URL: http://petdance.com/ack/
Group: Productivity/Text/Utilities
License: Perl License
@@ -41,6 +42,9 @@ code.
%prep
%setup -q -n "ack-%{version}"
%patch1
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1000
%patch2
%endif
%build
%__perl Makefile.PL PREFIX="%{_prefix}"