From e090fec7fc514257bc4c94f698f71a9259094a00ea63017a9b532cfa8d31e9ff Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 13 Sep 2021 11:50:26 +0000 Subject: [PATCH] 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 --- HTML-HTML5-Parser-0.301.tar.gz | 3 --- HTML-HTML5-Parser-0.992.tar.gz | 3 +++ cpanspec.yml | 35 ++++++++++++++++++++++++++++++++++ perl-HTML-HTML5-Parser.changes | 6 ++++++ perl-HTML-HTML5-Parser.spec | 21 ++++++++++---------- 5 files changed, 54 insertions(+), 14 deletions(-) delete mode 100644 HTML-HTML5-Parser-0.301.tar.gz create mode 100644 HTML-HTML5-Parser-0.992.tar.gz create mode 100644 cpanspec.yml diff --git a/HTML-HTML5-Parser-0.301.tar.gz b/HTML-HTML5-Parser-0.301.tar.gz deleted file mode 100644 index 771ba5e..0000000 --- a/HTML-HTML5-Parser-0.301.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8ec2f933f1965a8a7939a5bfc020bce8ac7d6766d7f0d5a83f9887842623e22 -size 189373 diff --git a/HTML-HTML5-Parser-0.992.tar.gz b/HTML-HTML5-Parser-0.992.tar.gz new file mode 100644 index 0000000..d63d9be --- /dev/null +++ b/HTML-HTML5-Parser-0.992.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a184ca241caf97c57fd37f18e0fe686ef79cfe8eede7e31d93f3e636ed011169 +size 155983 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module +#skip_doc: regexp_to_skip_for_doc.* +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-HTML-HTML5-Parser.changes b/perl-HTML-HTML5-Parser.changes index b0ab9a6..9fd4bea 100644 --- a/perl-HTML-HTML5-Parser.changes +++ b/perl-HTML-HTML5-Parser.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 9 03:06:51 UTC 2021 - Tina Müller + +- updated to 0.992 + see /usr/share/doc/packages/perl-HTML-HTML5-Parser/Changes + ------------------------------------------------------------------- Tue Oct 20 15:46:41 UTC 2020 - Dirk Stoecker diff --git a/perl-HTML-HTML5-Parser.spec b/perl-HTML-HTML5-Parser.spec index 5541fbe..dfce50f 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 # -# 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