[packages/perl-HTML-TableExtract] Up to 2.15

arekm arekm at pld-linux.org
Thu Nov 19 11:35:33 CET 2026


commit 0050acaaa47a16fa77d05dd87527dc003bfdc97e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 19 00:37:15 2026 +0100

    Up to 2.15

 perl-HTML-TableExtract.spec | 10 ++++++----
 tree-reset.patch            | 13 +++++++++++++
 2 files changed, 19 insertions(+), 4 deletions(-)
---
diff --git a/perl-HTML-TableExtract.spec b/perl-HTML-TableExtract.spec
index cf7b794..a81b5ed 100644
--- a/perl-HTML-TableExtract.spec
+++ b/perl-HTML-TableExtract.spec
@@ -7,13 +7,14 @@
 Summary:	HTML::TableExtract - extracting the text contained in HTML tables
 Summary(pl.UTF-8):	HTML::TableExtract - wyciąganie tekstu zawartego w tabelach HTML
 Name:		perl-HTML-TableExtract
-Version:	2.11
-Release:	2
+Version:	2.15
+Release:	1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	ac1b8fa092d53931a9f3fdbba330f5b0
+Source0:	https://www.cpan.org/authors/id/M/MS/MSISK/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	de80d061759b2b99b9d8e7bb36ec3057
+Patch0:		tree-reset.patch
 URL:		http://search.cpan.org/dist/HTML-TableExtract/
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -39,6 +40,7 @@ tablic, reprezentującą wiersze i komórki tabeli.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch -P0 -p1
 
 %build
 %{__perl} Makefile.PL \
diff --git a/tree-reset.patch b/tree-reset.patch
new file mode 100644
index 0000000..91b816d
--- /dev/null
+++ b/tree-reset.patch
@@ -0,0 +1,13 @@
+# _reset_state() empties the TreeBuilder root through delete_content(), which
+# removes its _content slot; the following parse then builds an empty tree
+# in tree mode (t/30_tree.t 'mass html comp' fails with HTML::Tree 5.07).
+--- HTML-TableExtract-2.15/lib/HTML/TableExtract.pm
++++ HTML-TableExtract-2.15/lib/HTML/TableExtract.pm
+@@ -438,7 +438,6 @@
+   $self->{_counts}        = [];
+   $self->{_in_a_table}    = 0;
+   $self->{_parsing}       = 0;
+-  $self->tree->delete_content() if TREE();
+ }
+ 
+ sub _emsg {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-TableExtract.git/commitdiff/0050acaaa47a16fa77d05dd87527dc003bfdc97e



More information about the pld-cvs-commit mailing list