forked from pool/perl-HTML-TableExtract
Accepting request 800148 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/800148 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-TableExtract?expand=0&rev=22
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0a7d81a265d2d46aeeb277a9d7cd5f5e2c8e3765959b641252c8e0a175ad5106
|
|
||||||
size 36417
|
|
3
HTML-TableExtract-2.15.tar.gz
Normal file
3
HTML-TableExtract-2.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:86c59c9d58da3ca174da5e62f5a0fb02f4da02b1b1e01df9e5d14bb65e4c3ecf
|
||||||
|
size 36481
|
@@ -4,7 +4,8 @@
|
|||||||
#sources:
|
#sources:
|
||||||
# - source1
|
# - source1
|
||||||
# - source2
|
# - source2
|
||||||
#patches:
|
patches:
|
||||||
|
perl-HTML-TableExtract-test-30_tree.patch: -p1
|
||||||
# foo.patch: -p1
|
# foo.patch: -p1
|
||||||
# bar.patch:
|
# bar.patch:
|
||||||
#preamble: |-
|
#preamble: |-
|
||||||
|
13
perl-HTML-TableExtract-test-30_tree.patch
Normal file
13
perl-HTML-TableExtract-test-30_tree.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Index: HTML-TableExtract-2.15/lib/HTML/TableExtract.pm
|
||||||
|
===================================================================
|
||||||
|
--- HTML-TableExtract-2.15.orig/lib/HTML/TableExtract.pm
|
||||||
|
+++ HTML-TableExtract-2.15/lib/HTML/TableExtract.pm
|
||||||
|
@@ -438,7 +438,7 @@ sub _reset_state {
|
||||||
|
$self->{_counts} = [];
|
||||||
|
$self->{_in_a_table} = 0;
|
||||||
|
$self->{_parsing} = 0;
|
||||||
|
- $self->tree->delete_content() if TREE();
|
||||||
|
+ #$self->tree->delete_content() if TREE();
|
||||||
|
}
|
||||||
|
|
||||||
|
sub _emsg {
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 4 18:01:42 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||||
|
|
||||||
|
- Fix build: Test 30_tree.t fails
|
||||||
|
- Add patch perl-HTML-TableExtract-test-30_tree.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 07:01:08 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- updated to 2.15
|
||||||
|
see /usr/share/doc/packages/perl-HTML-TableExtract/Changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 7 08:36:18 UTC 2015 - coolo@suse.com
|
Sun Jun 7 08:36:18 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-TableExtract
|
# spec file for package perl-HTML-TableExtract
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,20 +12,23 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-TableExtract
|
Name: perl-HTML-TableExtract
|
||||||
Version: 2.13
|
Version: 2.15
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name HTML-TableExtract
|
%define cpan_name HTML-TableExtract
|
||||||
Summary: Perl module for extracting the content contained in tables within an HTM[cut]
|
Summary: Perl module for extracting the content contained in tables within an HTM[cut]
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/HTML-TableExtract/
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: http://www.cpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
|
# MANUAL BEGIN
|
||||||
|
Patch0: perl-HTML-TableExtract-test-30_tree.patch
|
||||||
|
# MANUAL END
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@@ -96,14 +99,15 @@ parameter to 0.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
find . -type f -print0 | xargs -0 chmod 644
|
%patch0 -p1
|
||||||
|
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -112,6 +116,7 @@ find . -type f -print0 | xargs -0 chmod 644
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes examples.html LICENSE README
|
%doc Changes examples.html README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user