8
0

Accepting request 297539 from devel:languages:perl:autoupdate

update

OBS-URL: https://build.opensuse.org/request/show/297539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-TreeBuilder-XPath?expand=0&rev=10
This commit is contained in:
Stephan Kulow
2015-04-17 07:29:56 +00:00
committed by Git OBS Bridge
parent 750e082b55
commit e671da7c98
5 changed files with 75 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-TreeBuilder-XPath (Version 0.12)
# spec file for package perl-HTML-TreeBuilder-XPath
#
# Copyright (c) 2010 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
@@ -14,30 +14,27 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# vim: set sw=4 ts=4 et nu:
Name: perl-HTML-TreeBuilder-XPath
Version: 0.12
Release: 1
License: GPL+ or Artistic
Version: 0.14
Release: 0
%define cpan_name HTML-TreeBuilder-XPath
Summary: add XPath support to HTML::TreeBuilder
Url: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
Summary: Add Xpath Support to Html::Treebuilder
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/M/MI/MIROD/HTML-TreeBuilder-XPath-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(List::Util)
BuildRequires: perl(XML::XPathEngine) >= 0.12
Url: http://search.cpan.org/dist/HTML-TreeBuilder-XPath/
Source0: http://www.cpan.org/authors/id/M/MI/MIROD/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: HTML-TreeBuilder-XPath-break.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(XML::XPathEngine) >= 0.12
Requires: perl(HTML::TreeBuilder)
Requires: perl(List::Util)
Requires: perl(XML::XPathEngine) >= 0.12
Patch0: HTML-TreeBuilder-XPath-break.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
@@ -60,11 +57,8 @@ easy to query a document.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%defattr(-,root,root,755)
%doc Changes README
%changelog