From 4b776fa8f5a02f252a1c913f1a6d21ae68ea0388d09ee6befa5241e2c4b853e6 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Thu, 27 Aug 2009 22:17:09 +0000 Subject: [PATCH] Accepting request 19021 from devel:languages:perl Copy from devel:languages:perl/perl-HTML-Parser based on submit request 19021 from user coolo OBS-URL: https://build.opensuse.org/request/show/19021 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Parser?expand=0&rev=5 --- HTML-Parser-3.60.tar.bz2 | 3 - HTML-Parser-3.61.tar.bz2 | 3 + perl-HTML-Parser.changes | 27 +++++++ perl-HTML-Parser.spec | 154 ++++++++++++--------------------------- 4 files changed, 77 insertions(+), 110 deletions(-) delete mode 100644 HTML-Parser-3.60.tar.bz2 create mode 100644 HTML-Parser-3.61.tar.bz2 diff --git a/HTML-Parser-3.60.tar.bz2 b/HTML-Parser-3.60.tar.bz2 deleted file mode 100644 index ca6d48a..0000000 --- a/HTML-Parser-3.60.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8c2a812982487fe2a4e42f9b46abbfef7e2197d09604ef4777604a39a8ce9fbc -size 74244 diff --git a/HTML-Parser-3.61.tar.bz2 b/HTML-Parser-3.61.tar.bz2 new file mode 100644 index 0000000..328138a --- /dev/null +++ b/HTML-Parser-3.61.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2bb430603d040ac00c933f933bd02097a4f2d7cf1e31a36e67a45dd7c4210f6 +size 74524 diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index 0c22d5f..1546f14 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu Aug 27 14:39:20 CEST 2009 - coolo@novell.com + +- remove strange obsoletes + +------------------------------------------------------------------- +Sat Jul 25 19:38:06 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sun Jun 28 20:17:46 CEST 2009 - chris@computersalat.de + +- update to 3.61 + * Test that triggers the crash that Chip fixed + * Complete documented list of literal tags + * Avoid crash (referenced pend_text instead of skipped_text) + * Reference HTML::LinkExttor [RT#43164] +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o fixed deps +- fixed rpmlint warnings + o spurious-executable-perm in doc + ------------------------------------------------------------------- Fri Feb 27 10:48:05 CET 2009 - anicka@suse.cz diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index f2c6eaa..b97ba71 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-HTML-Parser (Version 3.60) +# spec file for package perl-HTML-Parser (Version 3.61) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,131 +19,71 @@ Name: perl-HTML-Parser -BuildRequires: perl-HTML-Tagset -Version: 3.60 +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: HTML parser class +Version: 3.61 Release: 1 -Provides: perl_htp -Obsoletes: perl_htp -Requires: perl = %{perl_version} -AutoReqProv: on +License: Artistic License .. Group: Development/Libraries/Perl -License: Artistic License -Url: http://cpan.org/modules/by-module/HTML/ -Summary: Perl HTML Interface -Source: HTML-Parser-%{version}.tar.bz2 +Url: http://search.org/dist/HTML-Parser +Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: perl-HTML-Tagset +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(HTML::Tagset) >= 3 +BuildRequires: perl(XSLoader) +Requires: perl = %{perl_version} +Requires: perl(HTML::Tagset) >= 3 +Requires: perl(XSLoader) +Requires: perl(HTTP::Headers) %description -This is a collection of modules that parse and extract information from -HTML documents. +Objects of the HTML::Parser class will recognize markup and separate it from + plain text (alias data content) in HTML documents. As different kinds of + markup and text are recognized, the corresponding event handlers are invoked. +HTML::Parser is not a generic SGML parser. We have tried to make it able to + deal with the HTML that is actually "out there", and it normally parses as + closely as possible to the way the popular web browsers do it instead of + strictly following one of the many HTML specifications from W3C. Where + there is disagreement, there is often an option that you can enable to + get the official behaviour. +The document to be parsed may be supplied in arbitrary chunks. This makes + on-the-fly parsing as documents are received from the network possible. -Authors: --------- - libwww@perl.org +If event driven parsing does not feel right for your application, you might + want to use HTML::PullParser. This is an HTML::Parser subclass that allows + a more conventional program structure. + Authors: libwww@perl.org + + COPYRIGHT + + © 1995-2008 Gisle Aas. All rights reserved. + © 1999-2000 Michael A. Chase. All rights reserved. %prep -%setup -q -n HTML-Parser-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -make test +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__make} + +%check +%{__make} test %install -rm -rf $RPM_BUILD_ROOT %perl_make_install %perl_process_packlist -chmod 755 eg/hform +%perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(0644,root,root,0755) %doc Changes README TODO eg -%doc %{_mandir}/man?/* -%{perl_vendorarch}/HTML -%{perl_vendorarch}/auto/HTML -/var/adm/perl-modules/%{name} %changelog -* Fri Feb 27 2009 anicka@suse.cz -- update to 3.60 - * Spelling fixes. - * Test multi-value headers. - * Documentation improvements. - * Do not terminate head parsing on the element - * Add support for HTML 5 and new HEAD elements. - * Short description of the htextsub example - * Suppress warning when encode_entities is called with undef - * HTML::Parser doesn't compile with perl 5.8.0. -* Tue Jan 20 2009 anicka@suse.cz -- update to 3.59 - * Restore perl-5.6 compatibility for HTML::HeadParser. - * Suppress "Parsing of undecoded UTF-8 will give garbage" warning - with attr_encoded - * The