From 46e68d7de202db021b1bd777dbfa9486b10a264df61f5e486fbfbccc13d2518f Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 8 Mar 2024 10:14:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Scan?expand=0&rev=12 --- perl-Text-Scan.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/perl-Text-Scan.spec b/perl-Text-Scan.spec index 8eea13e..5b1c38a 100644 --- a/perl-Text-Scan.spec +++ b/perl-Text-Scan.spec @@ -23,9 +23,10 @@ Version: 0.31 Release: 0 URL: http://search.cpan.org/~tbusch/Text-Scan-0.30/Scan.pm Summary: Fast search for very large numbers of keys in a body of text -Requires: perl = %{perl_version} perl-libwww-perl +Requires: perl = %{perl_version} Requires: perl-Inline Requires: perl-TimeDate +Requires: perl-libwww-perl BuildRequires: perl BuildRequires: perl-Inline BuildRequires: perl-TimeDate @@ -38,16 +39,15 @@ Patch0: %{modname}-0.31.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This module provides facilities for fast searching on strings with very many search keys. The basic object behaves somewhat like a perl hash, except that you can retrieve based on a superstring of any keys stored. Simply scan a string as shown above and you will get back a perl hash (or list) of all keys found in the string (along with associated values and/or positions). All keys present in the text are returned. +This module provides facilities for fast searching on strings with very many +search keys. The basic object behaves somewhat like a perl hash, except that +you can retrieve based on a superstring of any keys stored. Simply scan a +string as shown above and you will get back a perl hash (or list) of all +keys found in the string (along with associated values and/or positions). +All keys present in the text are returned. This module is an implementation of the Aho/Corasick Pattern Matching algorithm- -Authors: --------- - Ira Woodhead, - Thomas Busch, - Jerome Eteve, - %prep %autosetup -n %{modname}-%{version} -p1