Pascal Bleser
2011-10-15 09:07:19 +00:00
committed by Git OBS Bridge
parent f03a69fc67
commit e045a652c4
4 changed files with 42 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Oct 15 09:05:58 UTC 2011 - pascal.bleser@opensuse.org
- update to 0.63:
* add normalize_whitespace feature to XML->no_html() method
* add several Unicode whitespace defs to $whitespace regex in XML class
* fix whitespace def to include   (broke HTML::HiLiter)
* add term_min_length option to QueryParser, to ignore terms unless then are
N chars or longer. Useful for skipping single-character words when Snipping
or HiLiting. For backwards compatibility the default is 1
* fix treat_uris_like_phrases regex to add / character in addition to @.\
* remove ';' as sentence boundary character (it was marked as TODO in
search-tools.c) because character entities use it (e.g. &)
* change __func__ macro to use FUNCION__ instead since Perl core implements
that portable macro
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 29 19:31:17 UTC 2011 - pascal.bleser@opensuse.org Sun May 29 19:31:17 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,15 +1,32 @@
# vim: set sw=4 ts=4 et nu: #
# spec file for package perl-Search-Tools
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Search-Tools Name: perl-Search-Tools
Version: 0.58 Version: 0.63
Release: 0 Release: 0
Summary: High-performance tools for building search applications Summary: High-performance tools for building search applications
# ftp://ftp.cpan.org/pub/CPAN/authors/id/K/KA/KARMAN/Search-Tools-%{version}.tar.gz # ftp://ftp.cpan.org/pub/CPAN/authors/id/K/KA/KARMAN/Search-Tools-%{version}.tar.gz
Source: Search-Tools-%{version}.tar.bz2 Source: Search-Tools-%{version}.tar.bz2
URL: http://search.cpan.org/dist/Search-Tools Url: http://search.cpan.org/dist/Search-Tools
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Perl License License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: make BuildRequires: make
@@ -47,7 +64,6 @@ Search::Tools is derived from some of the features in HTML::HiLiter and
SWISH::HiLiter, but has been re-written with an eye to accomodating more SWISH::HiLiter, but has been re-written with an eye to accomodating more
general purpose features. general purpose features.
%debug_package
%prep %prep
%setup -q -n "Search-Tools-%{version}" %setup -q -n "Search-Tools-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL %__sed -i '/^auto_install/d' Makefile.PL
@@ -64,6 +80,7 @@ find . -type f -name '*.pm' -exec %__chmod 0644 {} \;
%perl_process_packlist %perl_process_packlist
%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1120 %if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1120
%check %check
%__make test %__make test
%endif %endif
@@ -82,3 +99,4 @@ find . -type f -name '*.pm' -exec %__chmod 0644 {} \;
%doc %{perl_man3dir}/Search::Tools.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/Search::Tools.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Search::Tools::*.%{perl_man3ext}%{ext_man} %doc %{perl_man3dir}/Search::Tools::*.%{perl_man3ext}%{ext_man}
%changelog