Accepting request 1160745 from devel:languages:perl:autoupdate

- updated to 3.82
   see /usr/share/doc/packages/perl-HTML-Parser/Changes
  3.82      2024-03-13
      - "img lowsrc" and "body background" are not in the HTMLv5 spec (GH#43)
        (Jess)
      - Replace "FileHandle" with "IO::File" (GH#42) (James Raspass)
      - Fix some minor typos (GH#41) (Yoshikazu Sawa)

OBS-URL: https://build.opensuse.org/request/show/1160745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=63
This commit is contained in:
Pedro Monreal Gonzalez 2024-03-27 19:02:25 +00:00 committed by Git OBS Bridge
parent d175599712
commit e522cdd65a
4 changed files with 30 additions and 8 deletions

BIN
HTML-Parser-3.81.tar.gz (Stored with Git LFS)

Binary file not shown.

3
HTML-Parser-3.82.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b1f20dd0e471a049c13a53d0fcd0442f58518889180536c6f337112c9a430d8
size 150550

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Mar 22 16:11:10 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 3.82
see /usr/share/doc/packages/perl-HTML-Parser/Changes
3.82 2024-03-13
- "img lowsrc" and "body background" are not in the HTMLv5 spec (GH#43)
(Jess)
- Replace "FileHandle" with "IO::File" (GH#42) (James Raspass)
- Fix some minor typos (GH#41) (Yoshikazu Sawa)
-------------------------------------------------------------------
Wed Feb 1 03:07:05 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Parser
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,14 @@
%define cpan_name HTML-Parser
Name: perl-HTML-Parser
Version: 3.81
Version: 3.820.0
Release: 0
# 3.82 -> normalize -> 3.820.0
%define cpan_version 3.82
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: HTML parser class
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
@ -36,6 +38,14 @@ Requires: perl(HTML::Tagset)
Requires: perl(HTTP::Headers)
Requires: perl(URI)
Requires: perl(URI::URL)
Provides: perl(HTML::Entities) = %{version}
Provides: perl(HTML::Filter) = %{version}
Provides: perl(HTML::HeadParser) = %{version}
Provides: perl(HTML::LinkExtor) = %{version}
Provides: perl(HTML::Parser) = %{version}
Provides: perl(HTML::PullParser) = %{version}
Provides: perl(HTML::TokeParser) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@ -59,9 +69,9 @@ want to use 'HTML::PullParser'. This is an 'HTML::Parser' subclass that
allows a more conventional program structure.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"