Accepting request 1184364 from devel:languages:perl:autoupdate

- Remove fix-05_empty.patch, fixed upstream
- updated to 0.280.0 (0.28)
   see /usr/share/doc/packages/perl-HTML-TreeBuilder-LibXML/Changes
  0.28 2024-06-20T08:48:55Z
  0.28 2024-06-20T08:17:27Z
      - Same code as 0.27 - republishing to force CPAN reindexing
  0.27 2024-01-09T06:19:12Z
      - don't have the parser string blanks by default #15
        https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/pull/15
      - fallback to toString() when toStringC14N(1) gives an empty string #17
        https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/pull/17

OBS-URL: https://build.opensuse.org/request/show/1184364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-TreeBuilder-LibXML?expand=0&rev=7
This commit is contained in:
2024-07-02 12:51:22 +00:00
committed by Git OBS Bridge
parent 312527d39e
commit 45cf241ddf
6 changed files with 34 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-TreeBuilder-LibXML
#
# 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,20 +18,21 @@
%define cpan_name HTML-TreeBuilder-LibXML
Name: perl-HTML-TreeBuilder-LibXML
Version: 0.26
Version: 0.280.0
Release: 0
# 0.28 -> normalize -> 0.280.0
%define cpan_version 0.28
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: HTML::TreeBuilder and XPath compatible interface with libxml
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAVECROSS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
# PATCH-FIX-UPSTREAM fix 05_empty.t https://github.com/tokuhirom/HTML-TreeBuilder-LibXML/pull/17
Patch0: fix-05_empty.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::TreeBuilder::XPath) >= 0.14
BuildRequires: perl(LWP::UserAgent) >= 6
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) >= 0.98
@@ -41,6 +42,9 @@ Requires: perl(HTML::TreeBuilder::XPath) >= 0.14
Requires: perl(LWP::UserAgent) >= 6
Requires: perl(URI)
Requires: perl(XML::LibXML) >= 1.7
Provides: perl(HTML::TreeBuilder::LibXML) = %{version}
Provides: perl(HTML::TreeBuilder::LibXML::Node)
%undefine __perllib_provides
%{perl_requires}
%description
@@ -54,7 +58,7 @@ This module doesn't implement all of HTML::TreeBuilder and HTML::Element
APIs, but enough methods are defined so modules like Web::Scraper work.
%prep
%autosetup -n %{cpan_name}-%{version} -p1
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Build.PL --installdirs=vendor