8
0

Accepting request 800137 from home:pmonrealgonzalez:branches:devel:languages:perl:autoupdate

- Fix build: Test 30_tree.t fails
- Add patch perl-HTML-TableExtract-test-30_tree.patch

- updated to 2.15
   see /usr/share/doc/packages/perl-HTML-TableExtract/Changes

OBS-URL: https://build.opensuse.org/request/show/800137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-TableExtract?expand=0&rev=33
This commit is contained in:
Stephan Kulow
2020-05-04 19:19:08 +00:00
committed by Git OBS Bridge
parent f8c0ccfa25
commit e54ce77b13
6 changed files with 46 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 2.13
Version: 2.15
Release: 0
%define cpan_name HTML-TableExtract
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
Url: http://search.cpan.org/dist/HTML-TableExtract/
Source0: http://www.cpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSISK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
# MANUAL BEGIN
Patch0: perl-HTML-TableExtract-test-30_tree.patch
# MANUAL END
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -96,14 +99,15 @@ parameter to 0.
%prep
%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
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -112,6 +116,7 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples.html LICENSE README
%doc Changes examples.html README
%license LICENSE
%changelog