diff --git a/perl-HTML-HTML5-Parser.changes b/perl-HTML-HTML5-Parser.changes index 77aa54b..b0ab9a6 100644 --- a/perl-HTML-HTML5-Parser.changes +++ b/perl-HTML-HTML5-Parser.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 20 15:46:41 UTC 2020 - Dirk Stoecker + +- Fix build + +------------------------------------------------------------------- +Thu Oct 11 13:52:43 UTC 2018 - Dirk Stoecker + +- Fix build, update to 0.301 + +------------------------------------------------------------------- Sun May 1 10:29:45 UTC 2011 - coolo@opensuse.org - initial package 0.103 diff --git a/perl-HTML-HTML5-Parser.spec b/perl-HTML-HTML5-Parser.spec index 4d89a0f..5541fbe 100644 --- a/perl-HTML-HTML5-Parser.spec +++ b/perl-HTML-HTML5-Parser.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-HTML-HTML5-Parser (Version 0.103) +# spec file for package perl-HTML-HTML5-Parser # -# Copyright (c) 2011 SUSE LINUX Products 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,47 +12,37 @@ # 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-HTML5-Parser Version: 0.301 -Release: 1 -License: GPL+ or Artistic +Release: 0 %define cpan_name HTML-HTML5-Parser -Summary: parse HTML reliably -Url: https://metacpan.org/release/%{cpan_name} +Summary: Parse HTML reliably +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Source: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(Error) -#BuildRequires: perl(HTML::Encoding) >= 0.55 BuildRequires: perl(HTML::HTML5::Entities) >= 0.002 -#BuildRequires: perl(LWP::UserAgent) -#BuildRequires: perl(Module::Install) -BuildRequires: perl(Module::Package) -#BuildRequires: perl(Module::Signature) >= 0.66 -BuildRequires: perl(XML::LibXML) >= 1.94 -BuildRequires: perl(XML::LibXML::Devel) BuildRequires: perl(HTTP::Tiny) BuildRequires: perl(IO::HTML) -BuildRequires: perl(Scalar::Util) BuildRequires: perl(Try::Tiny) BuildRequires: perl(URI::file) -#Requires: perl(Error) -#Requires: perl(HTML::Encoding) >= 0.55 +BuildRequires: perl(XML::LibXML) >= 1.94 +BuildRequires: perl(XML::LibXML::Devel) Requires: perl(HTML::HTML5::Entities) >= 0.002 -#Requires: perl(LWP::UserAgent) -Requires: perl(XML::LibXML) >= 1.94 -#Requires: perl(XML::LibXML::Devel) Requires: perl(HTTP::Tiny) Requires: perl(IO::HTML) -Requires: perl(Scalar::Util) Requires: perl(Try::Tiny) Requires: perl(URI::file) +Requires: perl(XML::LibXML) >= 1.94 +Requires: perl(XML::LibXML::Devel) %{perl_requires} %description @@ -70,25 +60,22 @@ Changes include: %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes Changes.ttl Changes.xml README +%doc Changes COPYRIGHT CREDITS examples NEWS README TODO +%license LICENSE %changelog