Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Search-Xapian for openSUSE:Factory checked in at 2026-04-09 16:08:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Search-Xapian (Old) and /work/SRC/openSUSE:Factory/.perl-Search-Xapian.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Search-Xapian" Thu Apr 9 16:08:47 2026 rev:3 rq:1345218 version:1.2.25.6 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Search-Xapian/perl-Search-Xapian.changes 2022-03-01 17:04:47.640352948 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Search-Xapian.new.21863/perl-Search-Xapian.changes 2026-04-09 16:21:31.774584617 +0200 @@ -1,0 +2,23 @@ +Fri Apr 3 06:24:44 UTC 2026 - Tina Müller <[email protected]> + +- updated to 1.2.25.6 + see /usr/share/doc/packages/perl-Search-Xapian/Changes + + 1.2.25.6 Fri Apr 3 22:40:30 UTC 2026 + [Changes contributed by Olly Betts] + - Trying to build with Xapian 2.x now fails at Makefile.PL time with + a clear error recommending the newer Perl bindings in + xapian-bindings. + - README: Improve wording regarding status of these bindings vs the + SWIG-generated ones. + - Makefile.PL: Update reference to git branch name (svn/1.2 has been + renamed to RELEASE/1.2). + - Fix typo which prevented wrapping DatabaseClosedError and + DatabaseNotFoundError even when using xapian-core >= 1.4.10. + [Changes contributed by Gregor Herrmann] + - `make clean` now removes the generate source handle_exception.cc + and the `testdb*` databases create by `make test`. + - t/symbol-test.t: Run `make realclean` on the SymbolTest module at + the end of the test to avoid leaving generated files behind. + +------------------------------------------------------------------- Old: ---- Search-Xapian-1.2.25.5.tar.gz New: ---- README.md Search-Xapian-1.2.25.6.tar.gz _scmsync.obsinfo build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Search-Xapian.spec ++++++ --- /var/tmp/diff_new_pack.ZQDqbV/_old 2026-04-09 16:21:32.354608416 +0200 +++ /var/tmp/diff_new_pack.ZQDqbV/_new 2026-04-09 16:21:32.354608416 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Search-Xapian # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,14 @@ %define cpan_name Search-Xapian Name: perl-Search-Xapian -Version: 1.2.25.5 +Version: 1.2.25.6 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Perl XS frontend to the Xapian C++ search library URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/O/OL/OLLY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +Source100: README.md BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Devel::Leak) @@ -54,8 +55,9 @@ at https://xapian.org/lists). %prep -%autosetup -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" ++++++ README.md ++++++ ## Build Results Current state of perl in openSUSE:Factory is  The current state of perl in the devel project build (devel:languages:perl)  ++++++ Search-Xapian-1.2.25.5.tar.gz -> Search-Xapian-1.2.25.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/Changes new/Search-Xapian-1.2.25.6/Changes --- old/Search-Xapian-1.2.25.5/Changes 2022-02-28 00:47:43.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/Changes 2026-04-03 00:40:36.000000000 +0200 @@ -1,5 +1,22 @@ Revision history for Perl extension Search::Xapian. +1.2.25.6 Fri Apr 3 22:40:30 UTC 2026 + [Changes contributed by Olly Betts] + - Trying to build with Xapian 2.x now fails at Makefile.PL time with + a clear error recommending the newer Perl bindings in + xapian-bindings. + - README: Improve wording regarding status of these bindings vs the + SWIG-generated ones. + - Makefile.PL: Update reference to git branch name (svn/1.2 has been + renamed to RELEASE/1.2). + - Fix typo which prevented wrapping DatabaseClosedError and + DatabaseNotFoundError even when using xapian-core >= 1.4.10. + [Changes contributed by Gregor Herrmann] + - `make clean` now removes the generate source handle_exception.cc + and the `testdb*` databases create by `make test`. + - t/symbol-test.t: Run `make realclean` on the SymbolTest module at + the end of the test to avoid leaving generated files behind. + 1.2.25.5 Sun Feb 27 23:46:46 UTC 2022 [Changes contributed by Olly Betts] - The exception fix in 1.2.25.3 unintentionally broke the build with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/META.json new/Search-Xapian-1.2.25.6/META.json --- old/Search-Xapian-1.2.25.5/META.json 2022-02-28 00:49:42.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/META.json 2026-04-03 01:06:00.000000000 +0200 @@ -44,9 +44,9 @@ "homepage" : "https://xapian.org/", "repository" : { "type" : "git", - "web" : "https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/svn/1.2" + "web" : "https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/RELEASE/1.2" } }, - "version" : "v1.2.25.5", - "x_serialization_backend" : "JSON::PP version 4.06" + "version" : "v1.2.25.6", + "x_serialization_backend" : "JSON::PP version 4.16" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/META.yml new/Search-Xapian-1.2.25.6/META.yml --- old/Search-Xapian-1.2.25.5/META.yml 2022-02-28 00:49:42.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/META.yml 2026-04-03 01:06:00.000000000 +0200 @@ -22,6 +22,6 @@ resources: bugtracker: https://trac.xapian.org/ homepage: https://xapian.org/ - repository: https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/svn/1.2 -version: v1.2.25.5 + repository: https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/RELEASE/1.2 +version: v1.2.25.6 x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/Makefile.PL new/Search-Xapian-1.2.25.6/Makefile.PL --- old/Search-Xapian-1.2.25.5/Makefile.PL 2020-11-22 07:53:13.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/Makefile.PL 2026-04-03 00:06:52.000000000 +0200 @@ -168,7 +168,7 @@ resources => { repository => { type => 'git', - web => 'https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/svn/1.2' + web => 'https://git.xapian.org/?p=xapian;a=tree;f=search-xapian;hb=refs/heads/RELEASE/1.2' }, bugtracker => { web => 'https://trac.xapian.org/' @@ -186,10 +186,11 @@ 'LD' => $LD, 'INC' => $inc, # e.g., '-I/usr/include/other' 'OBJECT' => '$(BASEEXT)$(OBJ_EXT) handle_exception$(OBJ_EXT)', - 'XSOPT' => '-C++', # 'typemap' is implicitly added to this list. 'TYPEMAPS' => ['perlobject.map', 'typemap-errorclasses'], - 'clean' => { 'FILES' => 'ld-wrapper makefile-pl-args' }, + 'clean' => { + 'FILES' => 'handle_exception.cc ld-wrapper makefile-pl-args testdb*' + }, # Add "make check" as alias for "make test". # Make sure that we rebuild the Makefile if the version number changes. 'depend' => { 'check' => 'test', 'Makefile' => 'Xapian.pm' }, @@ -215,17 +216,33 @@ close F; my ($BASEVERSION) = $VERSION =~ /^([0-9]+\.[0-9]+\.[0-9]+)/; +# Check if the Perl module version and xapian-core version exactly match +# (considering only the first 3 components). If they do then they should +# definitely be compatible. Otherwise we need to consider whether to +# warn, error, or quietly accept the combination. if ($xver !~ /^\Q$BASEVERSION\E(?:_(?:svn|git)[0-9]+)?$/) { - # We definitely need Xapian 1.2.x, 1.4.x, 1.5.x or 1.6.x. - my $no_chance = ($xver !~ /^1\.[2456]\./); + # We officially support Xapian 1.2.x (for x >= 24) or 1.4.y. + # + # Snapshots from git which identified themselves as 1.5.0 may work (but the + # first RC for 2.0.0 which identified as 1.5.0 won't). + # + # 2.0.0 and later are not supported because Xapian::ValueRangeProcessor has + # been removed from the C++ API (use the newer SWIG-generated bindings in + # xapian-bindings instead). + my $no_chance = ($xver !~ /^(?:1\.[24]\.|1\.5\.0)/); my $msg; if ($no_chance) { $msg = "Xapian version $xver is incompatible with Search::Xapian $VERSION\n"; - } elsif ($BASEVERSION =~ /^1\.2\./ && $xver =~ /^1\.4\./) { - # Search::Xapian 1.2.x and xapian-core 1.4.y should work together - # (for x >= 24). + $msg .= "Use the newer Perl bindings in xapian-bindings instead\n" + if $xver !~ /^[01]\./; + } elsif ($xver =~ /^1\.4\./) { + # xapian-core 1.4.x is supported (since Search::Xapian 1.2.24). + } elsif ($xver =~ /^1\.5\.0/) { + # Snapshots from git which identified themselves as 1.5.0 may work (but the + # first RC for 2.0.0 which identified as 1.5.0 won't). + $msg = "Xapian version $xver is not officially supported by Search::Xapian $VERSION\n"; } else { - # We try to keep working with Xapian 1.5.x and up but no promises. + # Older xapian-core < 1.2.25 may work but no promises. $msg = "Xapian version $xver may be incompatible with Search::Xapian $VERSION\n"; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/README new/Search-Xapian-1.2.25.6/README --- old/Search-Xapian-1.2.25.5/README 2020-11-23 05:26:48.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/README 2026-04-03 00:40:18.000000000 +0200 @@ -1,15 +1,18 @@ -Search::Xapian version 1.2.25.5 +Search::Xapian version 1.2.25.6 =============================== This is Search::Xapian, a Perl XS interface to the Xapian C++ search library. -We're working to replace these hand-coded XS wrappers with wrappers generated -with SWIG, which will allow new C++ API features to be wrapped for Perl more +We're replacing these hand-coded XS wrappers with wrappers generated using +SWIG, which will allow new C++ API features to be wrapped for Perl more quickly and easily than currently. These new bindings are available in xapian-bindings 1.4.16 and later. They are mostly compatible with these bindings, but there are some differences - see the documentation of the new bindings for a list of the known differences. +These bindings can't be compiled against xapian-core 2.0.0 and later - you need +to migrate to newer Perl bindings in xapian-bindings for these versions. + To assist people with migration these XS bindings can also be compiled against xapian-core 1.4.x, and aim to present the same Perl API as when compiled against xapian-core 1.2.x. @@ -68,7 +71,7 @@ CPAN bug tracker or mail any of the authors individually. Copyright (c) 2002,2003 Alex Bowley. All rights reserved. -Copyright (c) 2003-2020 Olly Betts. All rights reserved. +Copyright (c) 2003-2026 Olly Betts. All rights reserved. Copyright (c) 2010,2012 Adam Sjøgren This program is free software; you can redistribute it and/or modify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/XS/DatabaseError.xs new/Search-Xapian-1.2.25.6/XS/DatabaseError.xs --- old/Search-Xapian-1.2.25.5/XS/DatabaseError.xs 2022-02-28 00:34:07.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/XS/DatabaseError.xs 2026-04-03 00:40:58.000000000 +0200 @@ -22,3 +22,4 @@ INCLUDE: XS/DatabaseLockError.xs INCLUDE: XS/DatabaseModifiedError.xs INCLUDE: XS/DatabaseOpeningError.xs +INCLUDE: XS/DatabaseClosedError.xs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/XS/DatabaseOpeningError.xs new/Search-Xapian-1.2.25.6/XS/DatabaseOpeningError.xs --- old/Search-Xapian-1.2.25.5/XS/DatabaseOpeningError.xs 2022-02-28 00:34:07.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/XS/DatabaseOpeningError.xs 2026-04-03 00:40:58.000000000 +0200 @@ -18,3 +18,4 @@ DatabaseOpeningError::DESTROY() INCLUDE: XS/DatabaseVersionError.xs +INCLUDE: XS/DatabaseNotFoundError.xs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/Xapian/DatabaseError.pm new/Search-Xapian-1.2.25.6/Xapian/DatabaseError.pm --- old/Search-Xapian-1.2.25.5/Xapian/DatabaseError.pm 2022-02-28 00:34:07.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/Xapian/DatabaseError.pm 2026-04-03 00:40:58.000000000 +0200 @@ -25,6 +25,7 @@ use Search::Xapian::DatabaseLockError; use Search::Xapian::DatabaseModifiedError; use Search::Xapian::DatabaseOpeningError; +use Search::Xapian::DatabaseClosedError; our @ISA = qw(DynaLoader Search::Xapian::RuntimeError); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/Xapian/DatabaseOpeningError.pm new/Search-Xapian-1.2.25.6/Xapian/DatabaseOpeningError.pm --- old/Search-Xapian-1.2.25.5/Xapian/DatabaseOpeningError.pm 2022-02-28 00:34:07.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/Xapian/DatabaseOpeningError.pm 2026-04-03 00:40:58.000000000 +0200 @@ -21,6 +21,7 @@ use overload '""' => sub { "Exception: ".$_[0]->get_msg }; use Search::Xapian::DatabaseVersionError; +use Search::Xapian::DatabaseNotFoundError; our @ISA = qw(DynaLoader Search::Xapian::DatabaseError); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/Xapian.pm new/Search-Xapian-1.2.25.6/Xapian.pm --- old/Search-Xapian-1.2.25.5/Xapian.pm 2020-11-23 05:28:08.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/Xapian.pm 2026-04-03 00:40:18.000000000 +0200 @@ -4,7 +4,7 @@ use strict; use warnings; -our $VERSION = '1.2.25.5'; +our $VERSION = '1.2.25.6'; use Exporter 'import'; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/generate-perl-exceptions new/Search-Xapian-1.2.25.6/generate-perl-exceptions --- old/Search-Xapian-1.2.25.5/generate-perl-exceptions 2020-11-22 07:52:33.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/generate-perl-exceptions 2026-04-03 00:39:39.000000000 +0200 @@ -15,7 +15,7 @@ push(@INC, $dir); $::version = shift || ''; - if ($::version =~ /^(\d+)\.(\d+)\,(\d+)/) { + if ($::version =~ /^(\d+)\.(\d+)\.(\d+)/) { $::version = $1 * 1000000 + $2 * 1000 + $3; } else { # Assume 1.4.x if not specified. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/t/symbol-test.t new/Search-Xapian-1.2.25.6/t/symbol-test.t --- old/Search-Xapian-1.2.25.5/t/symbol-test.t 2020-04-08 06:00:06.000000000 +0200 +++ new/Search-Xapian-1.2.25.6/t/symbol-test.t 2026-04-03 00:15:10.000000000 +0200 @@ -40,4 +40,7 @@ eval { SymbolTest::throw_from_libxapian() }; like( $@, qr/DatabaseOpeningError caught in SymbolTest/, 'Correct exception caught'); +# clean up +system("make realclean 2>&1") == 0 or die $!; + 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Search-Xapian-1.2.25.5/typemap-errorclasses new/Search-Xapian-1.2.25.6/typemap-errorclasses --- old/Search-Xapian-1.2.25.5/typemap-errorclasses 2022-02-28 00:34:07.000000000 +0100 +++ new/Search-Xapian-1.2.25.6/typemap-errorclasses 2026-04-03 00:40:58.000000000 +0200 @@ -42,3 +42,7 @@ RangeError * O_OBJECT WildcardError O_OBJECT WildcardError * O_OBJECT +DatabaseNotFoundError O_OBJECT +DatabaseNotFoundError * O_OBJECT +DatabaseClosedError O_OBJECT +DatabaseClosedError * O_OBJECT ++++++ _scmsync.obsinfo ++++++ mtime: 1775197484 commit: 37f26ddd381851b04906f7b99683da86ef09886b9ae5dfb62f509f45a14e7e37 url: https://src.opensuse.org/perl/perl-Search-Xapian.git revision: 37f26ddd381851b04906f7b99683da86ef09886b9ae5dfb62f509f45a14e7e37 projectscmsync: https://src.opensuse.org/perl/_ObsPrj ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-04-07 15:04:37.000000000 +0200 @@ -0,0 +1 @@ +.osc
