Compare commits

1 Commits
main ... 1.1

4 changed files with 8 additions and 39 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,24 +1,3 @@
-------------------------------------------------------------------
Wed Jul 31 05:28:00 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 3.830.0 (3.83)
see /usr/share/doc/packages/perl-HTML-Parser/Changes
3.83 2024-07-30
- fix '$\/]' in HTML::Entities::encode_entities (GH#45) (mauke)
-------------------------------------------------------------------
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) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,12 @@
%define cpan_name HTML-Parser
Name: perl-HTML-Parser
Version: 3.830.0
Version: 3.81
Release: 0
# 3.83 -> normalize -> 3.830.0
%define cpan_version 3.83
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}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
@@ -38,14 +36,6 @@ 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
@@ -69,9 +59,9 @@ want to use 'HTML::PullParser'. This is an 'HTML::Parser' subclass that
allows a more conventional program structure.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
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}"