SHA256
1
0
forked from pool/ack

Accepting request 720814 from home:AndreasStieger:branches:utilities

ack 3.0.2

OBS-URL: https://build.opensuse.org/request/show/720814
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=27
This commit is contained in:
Christopher Childress
2019-08-05 01:46:42 +00:00
committed by Git OBS Bridge
parent 1710ad7404
commit 04c85026c8
6 changed files with 36 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a6ecbf0ab9aee75faa0b8975d4a47fe002a7f3885455ae45d71e2b04db2ef9b
size 263072

View File

@@ -10,10 +10,10 @@ Add rpm/.spec to known file types
ConfigDefault.pm | 3 +++
1 file changed, 3 insertions(+)
Index: ack-2.14/ConfigDefault.pm
Index: ack-2.14/lib/App/Ack/ConfigDefault.pm
===================================================================
--- ack-2.14.orig/ConfigDefault.pm 2014-09-04 22:19:55.000000000 +0100
+++ ack-2.14/ConfigDefault.pm 2014-09-04 22:20:35.000000000 +0100
--- ack-2.14.orig/lib/App/Ack/ConfigDefault.pm 2014-09-04 22:19:55.000000000 +0100
+++ ack-2.14/lib/App/Ack/ConfigDefault.pm 2014-09-04 22:20:35.000000000 +0100
@@ -342,6 +342,9 @@ sub _options_block {
# http://docutils.sourceforge.net/rst.html
--type-add=rst:ext:rst

View File

@@ -10,11 +10,11 @@ Ignore .osc
t/ack-dump.t | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
Index: ack-2.14/ConfigDefault.pm
Index: ack-v3.0.2/lib/App/Ack/ConfigDefault.pm
===================================================================
--- ack-2.14.orig/ConfigDefault.pm 2014-09-04 22:13:22.000000000 +0100
+++ ack-2.14/ConfigDefault.pm 2014-09-04 22:13:31.000000000 +0100
@@ -58,6 +58,9 @@ sub _options_block {
--- ack-v3.0.2.orig/lib/App/Ack/ConfigDefault.pm
+++ ack-v3.0.2/lib/App/Ack/ConfigDefault.pm
@@ -70,6 +70,9 @@ sub _options_block {
# http://mercurial.selenic.com/
--ignore-directory=is:.hg
@@ -24,11 +24,11 @@ Index: ack-2.14/ConfigDefault.pm
# quilt
# http://directory.fsf.org/wiki/Quilt
--ignore-directory=is:.pc
Index: ack-2.14/t/ack-dump.t
Index: ack-v3.0.2/t/ack-dump.t
===================================================================
--- ack-2.14.orig/t/ack-dump.t 2014-09-04 22:13:31.000000000 +0100
+++ ack-2.14/t/ack-dump.t 2014-09-04 22:14:07.000000000 +0100
@@ -31,5 +31,5 @@ DUMP: {
--- ack-v3.0.2.orig/t/ack-dump.t
+++ ack-v3.0.2/t/ack-dump.t
@@ -29,5 +29,5 @@ DUMP: {
is( scalar @perl, 2, 'Two specs for Perl' );
my @ignore_dir = grep { /ignore-dir/ } @results;

3
ack-v3.0.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63b4b3bdbdb919f231780b2ce09e73c64b0c407633b36433aa9b574b59cc9528
size 241779

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sat Aug 3 15:01:41 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
- ack 3.0.2:
* Improved -w option
* -w option will warn if your pattern does not lend itself to
word matching
* -i, -I and --smart-case
* --proximate=N option
* Add --pod and --markdown
* Add GNUmakefile to the list of makefile specs
* Add -S as a synonym for --smart-case
* no longer highlights capture groups
* --output allows fewer special variables
-------------------------------------------------------------------
Fri Mar 22 21:11:41 UTC 2019 - Matthias Eliasson <elimat@opensuse.org>

View File

@@ -16,7 +16,7 @@
#
%define run_tests 0%{?suse_version} >= 1210
%define run_tests 0%{?suse_version} > 1500
%if 0%{?suse_version} >= 1100 || 0%{?fedora} >= 13
%define with_pod 1
%else
@@ -24,19 +24,19 @@
%endif
%{!?perl_make_install: %global perl_make_install make DESTDIR=%{buildroot} install_vendor}
Name: ack
Version: 2.28
Version: 3.0.2
Release: 0
Summary: Grep-Like Text Finder
License: Artistic-2.0
Group: Productivity/Text/Utilities
URL: http://beyondgrep.com/
Source: http://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
URL: https://beyondgrep.com/
Source: http://cpan.metacpan.org/authors/id/P/PE/PETDANCE/ack-v%{version}.tar.gz
Patch1: ack-ignore-osc.patch
Patch3: ack-add_spec.patch
BuildRequires: make
BuildRequires: perl >= 5.8.8
BuildRequires: perl >= 5.10.1
BuildRequires: perl(File::Next) >= 1.10
Requires: perl
Requires: perl >= 5.10.1
Requires: perl-App-Ack = %{version}-%{release}
Requires: perl-base = %{perl_version}
BuildArch: noarch
@@ -62,7 +62,7 @@ App::Ack is a grep-like tool tailored to working with large trees of source
code.
%prep
%setup -q
%setup -q -n %{name}-v%{version}
%patch1 -p1
%patch3 -p1