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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24d3f7f9921d49aa2ec75922322f618a471948764a501ebc32192270ec1bab31
size 10270

View File

@@ -1,10 +1,10 @@
All this does is to avoid a match in perl.prov All this does is to avoid a match in perl.prov
Index: HTML-TreeBuilder-XPath-0.12/lib/HTML/TreeBuilder/XPath.pm Index: HTML-TreeBuilder-XPath-0.14/lib/HTML/TreeBuilder/XPath.pm
=================================================================== ===================================================================
--- HTML-TreeBuilder-XPath-0.12.orig/lib/HTML/TreeBuilder/XPath.pm 2011-01-14 13:07:18.000000000 +0100 --- HTML-TreeBuilder-XPath-0.14.orig/lib/HTML/TreeBuilder/XPath.pm
+++ HTML-TreeBuilder-XPath-0.12/lib/HTML/TreeBuilder/XPath.pm 2011-01-14 13:08:22.366315163 +0100 +++ HTML-TreeBuilder-XPath-0.14/lib/HTML/TreeBuilder/XPath.pm
@@ -93,7 +93,8 @@ sub cmp @@ -94,7 +94,8 @@ sub cmp
# need to modify directly the HTML::Element package, because HTML::TreeBuilder won't let me # need to modify directly the HTML::Element package, because HTML::TreeBuilder won't let me
# change the class of the nodes it generates # change the class of the nodes it generates

19
cpanspec.yml Normal file
View File

@@ -0,0 +1,19 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
HTML-TreeBuilder-XPath-break.diff: -p1
#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_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Thu Apr 16 21:36:24 UTC 2015 - coolo@suse.com
- updated to 0.14
see /usr/share/doc/packages/perl-HTML-TreeBuilder-XPath/Changes
version 0.14
date: 2011-09-20
# bug fix
fix: comment() did not work, as the text was in {text} not {_text}
report and initial patch by perlover
version 0.13
date: 2011-06-19
# minor improvement
added: make the link _parent a weakref
sent by Graham Barr https://rt.cpan.org/Public/Bug/Display.html?id=68896
-------------------------------------------------------------------
Thu Apr 16 21:36:23 UTC 2015 - coolo@suse.com
- updated to 0.14
see /usr/share/doc/packages/perl-HTML-TreeBuilder-XPath/Changes
version 0.14
date: 2011-09-20
# bug fix
fix: comment() did not work, as the text was in {text} not {_text}
report and initial patch by perlover
version 0.13
date: 2011-06-19
# minor improvement
added: make the link _parent a weakref
sent by Graham Barr https://rt.cpan.org/Public/Bug/Display.html?id=68896
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 14 11:36:13 UTC 2011 - coolo@novell.com Fri Jan 14 11:36:13 UTC 2011 - coolo@novell.com

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