8
0

Accepting request 876980 from devel:languages:perl:autoupdate

- updated to 3.76
   see /usr/share/doc/packages/perl-HTML-Parser/Changes
  3.76      2021-03-04
    * Add a fix for a stack confusion error on `eof`. (GH#21) (Matthew Horsfall
      and Chase Whitener)

OBS-URL: https://build.opensuse.org/request/show/876980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=51
This commit is contained in:
2021-03-06 12:18:37 +00:00
committed by Git OBS Bridge
parent 731169e6b4
commit b94f715052
4 changed files with 20 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Parser
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,15 @@
#
Name: perl-HTML-Parser
Version: 3.75
Release: 0
%define cpan_name HTML-Parser
Name: perl-HTML-Parser
Version: 3.76
Release: 0
Summary: HTML parser class
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/C/CA/CAPOEIRAB/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::Tagset)
@@ -60,12 +58,12 @@ want to use 'HTML::PullParser'. This is an 'HTML::Parser' subclass that
allows a more conventional program structure.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%make_build
%check
make test
@@ -76,7 +74,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes entities.html mkhctype mkpfunc README TODO
%license LICENSE