Accepting request 918674 from devel:languages:perl:autoupdate

- updated to 0.992
   see /usr/share/doc/packages/perl-HTML-HTML5-Parser/Changes

OBS-URL: https://build.opensuse.org/request/show/918674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-HTML5-Parser?expand=0&rev=15
This commit is contained in:
2021-09-13 11:50:26 +00:00
committed by Git OBS Bridge
parent 5a6ac7cfe6
commit e090fec7fc
5 changed files with 54 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-HTML5-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,22 +16,22 @@
#
Name: perl-HTML-HTML5-Parser
Version: 0.301
Release: 0
%define cpan_name HTML-HTML5-Parser
Name: perl-HTML-HTML5-Parser
Version: 0.992
Release: 0
Summary: Parse HTML reliably
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/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::HTML5::Entities) >= 0.002
BuildRequires: perl(HTTP::Tiny)
BuildRequires: perl(IO::HTML)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(URI::file)
BuildRequires: perl(XML::LibXML) >= 1.94
@@ -59,11 +59,11 @@ Changes include:
non-CPAN packages.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
@@ -74,8 +74,7 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes COPYRIGHT CREDITS examples NEWS README TODO
%doc Changes COPYRIGHT CREDITS doap.ttl examples NEWS README TODO
%license LICENSE
%changelog