Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-HTML-Selector-XPath for
openSUSE:Factory checked in at 2022-01-04 19:38:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-HTML-Selector-XPath (Old)
and /work/SRC/openSUSE:Factory/.perl-HTML-Selector-XPath.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-HTML-Selector-XPath"
Tue Jan 4 19:38:04 2022 rev:2 rq:943740 version:0.26
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-HTML-Selector-XPath/perl-HTML-Selector-XPath.changes
2021-09-15 22:51:20.570903846 +0200
+++
/work/SRC/openSUSE:Factory/.perl-HTML-Selector-XPath.new.1896/perl-HTML-Selector-XPath.changes
2022-01-04 19:38:31.446011262 +0100
@@ -1,0 +2,6 @@
+Thu Dec 16 03:06:11 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.26
+ see /usr/share/doc/packages/perl-HTML-Selector-XPath/Changes
+
+-------------------------------------------------------------------
Old:
----
HTML-Selector-XPath-0.25.tar.gz
New:
----
HTML-Selector-XPath-0.26.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-HTML-Selector-XPath.spec ++++++
--- /var/tmp/diff_new_pack.2GJrRV/_old 2022-01-04 19:38:31.922011885 +0100
+++ /var/tmp/diff_new_pack.2GJrRV/_new 2022-01-04 19:38:31.926011890 +0100
@@ -18,10 +18,10 @@
%define cpan_name HTML-Selector-XPath
Name: perl-HTML-Selector-XPath
-Version: 0.25
+Version: 0.26
Release: 0
-License: Artistic-1.0 OR GPL-1.0-or-later
Summary: CSS Selector to XPath compiler
+License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
++++++ HTML-Selector-XPath-0.25.tar.gz -> HTML-Selector-XPath-0.26.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTML-Selector-XPath-0.25/Changes
new/HTML-Selector-XPath-0.26/Changes
--- old/HTML-Selector-XPath-0.25/Changes 2018-11-03 09:03:21.000000000
+0100
+++ new/HTML-Selector-XPath-0.26/Changes 2021-12-15 18:23:43.000000000
+0100
@@ -1,6 +1,12 @@
Revision history for Perl extension HTML::Selector::XPath
-0.26 NEXT
+0.27 NEXT
+
+0.26 2021-12-15
+ * Fix typo in documentation for selector_to_xpath.
+ It is equivalent to
+ HTML::Selector::XPath->new(shift)->to_xpath(@_)
+ Reported as RT 140473 by JDEGUEST
0.25 2018-11-03
* Add support for compiling :disabled, :selected, :checked, :text,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTML-Selector-XPath-0.25/META.json
new/HTML-Selector-XPath-0.26/META.json
--- old/HTML-Selector-XPath-0.25/META.json 2018-11-03 09:03:26.000000000
+0100
+++ new/HTML-Selector-XPath-0.26/META.json 2021-12-15 18:23:49.000000000
+0100
@@ -4,13 +4,13 @@
"Max Maischein <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150005",
+ "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "HTML-Selector-XPath",
"no_index" : {
@@ -57,7 +57,7 @@
"web" : "https://github.com/Corion/HTML-Selector-XPath"
}
},
- "version" : "0.25",
- "x_serialization_backend" : "JSON::PP version 2.27203",
+ "version" : "0.26",
+ "x_serialization_backend" : "JSON::PP version 4.04",
"x_static_install" : 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTML-Selector-XPath-0.25/META.yml
new/HTML-Selector-XPath-0.26/META.yml
--- old/HTML-Selector-XPath-0.25/META.yml 2018-11-03 09:03:26.000000000
+0100
+++ new/HTML-Selector-XPath-0.26/META.yml 2021-12-15 18:23:49.000000000
+0100
@@ -10,7 +10,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150005'
+generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -28,6 +28,6 @@
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/Corion/HTML-Selector-XPath.git
-version: '0.25'
+version: '0.26'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HTML-Selector-XPath-0.25/lib/HTML/Selector/XPath.pm
new/HTML-Selector-XPath-0.26/lib/HTML/Selector/XPath.pm
--- old/HTML-Selector-XPath-0.25/lib/HTML/Selector/XPath.pm 2018-11-03
09:03:21.000000000 +0100
+++ new/HTML-Selector-XPath-0.26/lib/HTML/Selector/XPath.pm 2021-12-15
18:23:43.000000000 +0100
@@ -2,7 +2,7 @@
use strict;
use 5.008_001;
-our $VERSION = '0.25';
+our $VERSION = '0.26';
require Exporter;
our @EXPORT_OK = qw(selector_to_xpath);
@@ -135,11 +135,11 @@
}
my $tag = $id_class eq '' ? $name || '*' : '*';
-
+
if (defined $parms{prefix} and not $tag =~ /[*:|]/) {
$tag = join ':', $parms{prefix}, $tag;
}
-
+
if (! $wrote_tag++) {
push @parts, $tag;
}
@@ -179,7 +179,7 @@
my( $new_parts, $leftover ) = $self->consume( $rule, %parms );
shift @$new_parts; # remove '//'
my $xpath = join '', @$new_parts;
-
+
push @parts, "[not(self::$xpath)]";
$rule = $leftover;
}
@@ -278,7 +278,7 @@
my $self = shift;
my $rule = $self->{expression} or return;
my %parms = @_;
-
+
my($result,$leftover) = $self->consume( $rule, %parms );
$leftover
and die "Invalid rule, couldn't parse '$leftover'";
@@ -286,9 +286,9 @@
}
-sub parse_pseudo {
+sub parse_pseudo {
# nop
-}
+}
1;
__END__
@@ -327,7 +327,8 @@
$xpath = selector_to_xpath($selector, %options);
-Shortcut for C<< HTML::Selector->new(shift)->to_xpath(@_) >>. Exported upon
request.
+Shortcut for C<< HTML::Selector::XPath->new(shift)->to_xpath(@_) >>.
+Exported upon request.
=item new
@@ -355,10 +356,10 @@
=item parse_pseudo
-This method is called during xpath construction when we encounter a pseudo
-selector (something that begins with comma). It is passed the selector and
-a reference to the string we are parsing. It should return one or more
-xpath sub-expressions to add to the parts if the selector is handled,
+This method is called during xpath construction when we encounter a pseudo
+selector (something that begins with comma). It is passed the selector and
+a reference to the string we are parsing. It should return one or more
+xpath sub-expressions to add to the parts if the selector is handled,
otherwise return an empty list.
=back