8
0

Accepting request 296284 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/296284
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Tree?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2015-04-15 04:35:10 +00:00
committed by Git OBS Bridge
parent d91a19624e
commit a1d7a6aa91
4 changed files with 24 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Tree
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,29 @@
#
%bcond_with opt
Name: perl-HTML-Tree
Version: 4.2
Release: 1
License: GPL+ or Artistic
Version: 5.03
Release: 0
%define cpan_name HTML-Tree
Summary: Build and scan parse-trees of HTML
Url: http://search.cpan.org/dist/HTML-Tree/
Summary: build and scan parse-trees of HTML
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/J/JF/JFEARN/HTML-Tree-4.1.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
Url: http://search.cpan.org/dist/HTML-Tree/
Source: http://www.cpan.org/authors/id/C/CJ/CJM/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl-macros
%if 0%{?with opt}
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::Parser) >= 3.46
BuildRequires: perl(HTML::Tagset) >= 3.02
BuildRequires: perl(Module::Build) >= 0.2808
BuildRequires: perl(Test::Fatal)
Requires: perl(HTML::Entities)
Requires: perl(HTML::Parser) >= 3.46
Requires: perl(HTML::Tagset) >= 3.02
Recommends: perl(HTML::FormatText)
Recommends: perl(LWP::UserAgent) >= 5.815
%{perl_requires}
%description
@@ -80,15 +75,6 @@ Readers already familiar with object-oriented modules and tree-shaped data
structures should read just the last article. Readers without that
background should read the first, then the second, and then the third.
new
Redirects to HTML::TreeBuilder::new
new_from_file
Redirects to HTML::TreeBuilder::new_from_file
new_from_content
Redirects to HTML::TreeBuilder::new_from_content
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -103,11 +89,8 @@ new_from_content
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README TODO
%defattr(-,root,root,755)
%doc Changes LICENSE README TODO
%changelog