From c3480e64ab417ab4bae77aa93ba0fc4b10751e44e0cce8a0a291fd7b85f3f863 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 2 Sep 2010 05:13:41 +0000 Subject: [PATCH 1/6] 3.68 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=20 --- HTML-Parser-3.67.tar.bz2 | 3 -- HTML-Parser-3.68.tar.gz | 3 ++ perl-HTML-Parser.changes | 7 +++ perl-HTML-Parser.spec | 94 +++++++++++++++++++--------------------- 4 files changed, 54 insertions(+), 53 deletions(-) delete mode 100644 HTML-Parser-3.67.tar.bz2 create mode 100644 HTML-Parser-3.68.tar.gz diff --git a/HTML-Parser-3.67.tar.bz2 b/HTML-Parser-3.67.tar.bz2 deleted file mode 100644 index e570633..0000000 --- a/HTML-Parser-3.67.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18 -size 75523 diff --git a/HTML-Parser-3.68.tar.gz b/HTML-Parser-3.68.tar.gz new file mode 100644 index 0000000..0d2a4f8 --- /dev/null +++ b/HTML-Parser-3.68.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:430e852cd4e6c5f178e7d60f05fc17419de7cf3192d5ed75df01c47d318e16c2 +size 89289 diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index c6db7ba..e8de8fb 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org + +- replaced auto-generated spec file +- update to 3.68: + * declare the encoding of the POD to be utf8 + ------------------------------------------------------------------- Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 95f9905..724169c 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-HTML-Parser (Version 3.67) +# spec file for package perl-HTML-Parser (Version 3.68) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,38 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# vim: set sw=4 ts=4 et nu: # norootforbuild %bcond_with opt Name: perl-HTML-Parser -%define cpan_name HTML-Parser +Version: 3.68 +Release: 0 Summary: HTML parser class -Version: 3.67 -Release: 1 -License: GPL+ or Artistic +Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz +URL: http://search.cpan.org/dist/HTML-Parser Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/HTML-Parser/ -#Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +License: Perl License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +Requires: perl = %{perl_version} BuildRequires: perl -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif +BuildRequires: make +BuildRequires: perl(Test::More) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(XSLoader) +BuildRequires: perl(HTML::Tagset) >= 3 +Requires: perl(XSLoader) +Requires: perl(HTML::Tagset) >= 3 +Recommends: perl(HTML::Headers) %if %{with opt} BuildRequires: perl(HTTP::Headers) BuildRequires: perl(Test::Pod) >= 1.00 %endif -BuildRequires: perl(HTML::Tagset) >= 3 -BuildRequires: perl(Test::More) -BuildRequires: perl(XSLoader) -# -Requires: perl = %{perl_version} -Requires: perl(HTML::Tagset) >= 3 -Requires: perl(XSLoader) -# -Recommends: perl(HTTP::Headers) %description Objects of the HTML::Parser class will recognize markup and separate it @@ -55,51 +51,49 @@ 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. +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. +on-the-fly parsing as documents are received from the network possible. 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. +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 %{cpan_name}-%{version} +%setup -q -n "HTML-Parser-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL + # rpmlint: spurious-executable-perm -find ./eg -type f -exec %{__chmod} 0644 {} \; -%{__chmod} 0644 mkpfunc mkhctype +find ./eg -type f -exec %__chmod 0644 {} \; +%__chmod 0644 mkpfunc mkhctype %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -%{__make} %{?_smp_mflags} - -%check -%{__make} test +%__perl Makefile.PL PREFIX="%{_prefix}" +%__make %{?jobs:-j%{jobs}} %install %perl_make_install %perl_process_packlist -%perl_gen_filelist + +%check +%__make test %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{?buildroot:%__rm -rf "%{buildroot}"} -%files -f %{name}.files -%defattr(-,root,root,-) +%files +%defattr(-,root,root) %doc Changes mkhctype mkpfunc README TODO eg +%dir %{perl_vendorarch}/HTML +%{perl_vendorarch}/HTML/*.pm +%dir %{perl_vendorarch}/auto/HTML +%{perl_vendorarch}/auto/HTML/Parser +%doc %{perl_man3dir}/HTML::*.%{perl_man3ext}%{ext_man} +/var/adm/perl-modules/%{name} -%changelog From c0dbb6703aa92621c57f6d54b5213adcfb0c1c430a43f10e4bcd35f0ff76723e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 Sep 2010 06:47:24 +0000 Subject: [PATCH 2/6] repackage OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=21 --- HTML-Parser-3.68.tar.bz2 | 3 +++ HTML-Parser-3.68.tar.gz | 3 --- perl-HTML-Parser.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 HTML-Parser-3.68.tar.bz2 delete mode 100644 HTML-Parser-3.68.tar.gz diff --git a/HTML-Parser-3.68.tar.bz2 b/HTML-Parser-3.68.tar.bz2 new file mode 100644 index 0000000..0b83c47 --- /dev/null +++ b/HTML-Parser-3.68.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:477f44e99f18447996695adfe0bb078e3f03b1582078cd9820ef759cf11840e7 +size 75664 diff --git a/HTML-Parser-3.68.tar.gz b/HTML-Parser-3.68.tar.gz deleted file mode 100644 index 0d2a4f8..0000000 --- a/HTML-Parser-3.68.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:430e852cd4e6c5f178e7d60f05fc17419de7cf3192d5ed75df01c47d318e16c2 -size 89289 diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 724169c..4febfa8 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -24,7 +24,7 @@ Name: perl-HTML-Parser Version: 3.68 Release: 0 Summary: HTML parser class -Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz +Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.bz2 URL: http://search.cpan.org/dist/HTML-Parser Group: Development/Libraries/Perl License: Perl License From 5c5ae7b1af79d90ecac82ecca028b61477b77caefff293ba933a1a08e64bd399 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Mon, 6 Sep 2010 09:36:50 +0000 Subject: [PATCH 3/6] fix deps OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=22 --- perl-HTML-Parser.changes | 7 ++++ perl-HTML-Parser.spec | 71 +++++++++++++++++++++------------------- 2 files changed, 44 insertions(+), 34 deletions(-) diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index e8de8fb..d207cf6 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 6 09:35:03 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 +- fix deps + o Recommends HTTP::Headers not HTML::Headers + ------------------------------------------------------------------- Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 4febfa8..0aeb09c 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -15,34 +15,37 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# vim: set sw=4 ts=4 et nu: # norootforbuild %bcond_with opt Name: perl-HTML-Parser -Version: 3.68 -Release: 0 +%define cpan_name HTML-Parser Summary: HTML parser class -Source: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.bz2 -URL: http://search.cpan.org/dist/HTML-Parser +Version: 3.68 +Release: 1 +License: GPL+ or Artistic Group: Development/Libraries/Perl -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -Requires: perl = %{perl_version} +Url: http://search.cpan.org/dist/HTML-Parser/ +#Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -BuildRequires: make -BuildRequires: perl(Test::More) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(XSLoader) -BuildRequires: perl(HTML::Tagset) >= 3 -Requires: perl(XSLoader) -Requires: perl(HTML::Tagset) >= 3 -Recommends: perl(HTML::Headers) +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif %if %{with opt} BuildRequires: perl(HTTP::Headers) BuildRequires: perl(Test::Pod) >= 1.00 %endif +BuildRequires: perl(Test::More) +BuildRequires: perl(HTML::Tagset) >= 3 +BuildRequires: perl(XSLoader) +# +Requires: perl = %{perl_version} +Requires: perl(HTML::Tagset) >= 3 +Requires: perl(XSLoader) +Recommends: perl(HTTP::Headers) %description Objects of the HTML::Parser class will recognize markup and separate it @@ -64,36 +67,36 @@ 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}" -%__sed -i '/^auto_install/d' Makefile.PL - +%setup -q -n %{cpan_name}-%{version} # rpmlint: spurious-executable-perm find ./eg -type f -exec %__chmod 0644 {} \; %__chmod 0644 mkpfunc mkhctype %build -%__perl Makefile.PL PREFIX="%{_prefix}" -%__make %{?jobs:-j%{jobs}} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist - -%check -%__make test +%perl_gen_filelist %clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) -%doc Changes mkhctype mkpfunc README TODO eg -%dir %{perl_vendorarch}/HTML -%{perl_vendorarch}/HTML/*.pm -%dir %{perl_vendorarch}/auto/HTML -%{perl_vendorarch}/auto/HTML/Parser -%doc %{perl_man3dir}/HTML::*.%{perl_man3ext}%{ext_man} -/var/adm/perl-modules/%{name} +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes mkhctype mkpfunc README TODO +%changelog From 23b07728535929307f2ff065edc81d9688cdd3b63b7ca37564c5a36746bf3aa9 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Mon, 6 Sep 2010 09:38:37 +0000 Subject: [PATCH 4/6] fix doc OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=23 --- perl-HTML-Parser.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 0aeb09c..eda060b 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -97,6 +97,6 @@ find ./eg -type f -exec %__chmod 0644 {} \; %files -f %{name}.files %defattr(-,root,root,-) -%doc Changes mkhctype mkpfunc README TODO +%doc Changes mkhctype mkpfunc README TODO eg %changelog From b325e8542994c90c909d372a45730b33d10daf93f9f8f3424f8e7d0c20439a04 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 10 Sep 2010 13:10:10 +0000 Subject: [PATCH 5/6] Accepting request 47507 from devel:languages:perl checked in (request 47507) OBS-URL: https://build.opensuse.org/request/show/47507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=24 --- HTML-Parser-3.67.tar.bz2 | 3 +++ HTML-Parser-3.68.tar.bz2 | 3 --- perl-HTML-Parser.changes | 14 -------------- perl-HTML-Parser.spec | 37 ++++++++++++++++++++----------------- 4 files changed, 23 insertions(+), 34 deletions(-) create mode 100644 HTML-Parser-3.67.tar.bz2 delete mode 100644 HTML-Parser-3.68.tar.bz2 diff --git a/HTML-Parser-3.67.tar.bz2 b/HTML-Parser-3.67.tar.bz2 new file mode 100644 index 0000000..e570633 --- /dev/null +++ b/HTML-Parser-3.67.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18 +size 75523 diff --git a/HTML-Parser-3.68.tar.bz2 b/HTML-Parser-3.68.tar.bz2 deleted file mode 100644 index 0b83c47..0000000 --- a/HTML-Parser-3.68.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:477f44e99f18447996695adfe0bb078e3f03b1582078cd9820ef759cf11840e7 -size 75664 diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index d207cf6..c6db7ba 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,17 +1,3 @@ -------------------------------------------------------------------- -Mon Sep 6 09:35:03 UTC 2010 - chris@computersalat.de - -- recreated by cpanspec 1.78 -- fix deps - o Recommends HTTP::Headers not HTML::Headers - -------------------------------------------------------------------- -Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org - -- replaced auto-generated spec file -- update to 3.68: - * declare the encoding of the POD to be utf8 - ------------------------------------------------------------------- Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index eda060b..95f9905 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-HTML-Parser (Version 3.68) +# spec file for package perl-HTML-Parser (Version 3.67) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,7 +22,7 @@ Name: perl-HTML-Parser %define cpan_name HTML-Parser Summary: HTML parser class -Version: 3.68 +Version: 3.67 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl @@ -38,13 +38,14 @@ BuildRequires: perl-macros BuildRequires: perl(HTTP::Headers) BuildRequires: perl(Test::Pod) >= 1.00 %endif -BuildRequires: perl(Test::More) BuildRequires: perl(HTML::Tagset) >= 3 +BuildRequires: perl(Test::More) BuildRequires: perl(XSLoader) # Requires: perl = %{perl_version} Requires: perl(HTML::Tagset) >= 3 Requires: perl(XSLoader) +# Recommends: perl(HTTP::Headers) %description @@ -54,31 +55,33 @@ 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. + 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. + on-the-fly parsing as documents are received from the network possible. 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. + want to use HTML::PullParser. This is an HTML::Parser subclass that allows + a more conventional program structure. -Authors: libwww@perl.org +Authors: +-------- + libwww@perl.org -COPYRIGHT + COPYRIGHT -© 1995-2008 Gisle Aas. All rights reserved. -© 1999-2000 Michael A. Chase. All rights reserved. + © 1995-2008 Gisle Aas. All rights reserved. + © 1999-2000 Michael A. Chase. All rights reserved. %prep %setup -q -n %{cpan_name}-%{version} # rpmlint: spurious-executable-perm -find ./eg -type f -exec %__chmod 0644 {} \; -%__chmod 0644 mkpfunc mkhctype +find ./eg -type f -exec %{__chmod} 0644 {} \; +%{__chmod} 0644 mkpfunc mkhctype %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" From 8c459ea3d0538b7246208e881256ea07414f47311302074af53ef3973d6b586b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 10 Sep 2010 13:10:11 +0000 Subject: [PATCH 6/6] Updating link to change in openSUSE:Factory/perl-HTML-Parser revision 16.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=feb67860d2b84d0d1671d8b2544cd935 --- HTML-Parser-3.67.tar.bz2 | 3 --- HTML-Parser-3.68.tar.bz2 | 3 +++ perl-HTML-Parser.changes | 14 ++++++++++++++ perl-HTML-Parser.spec | 37 +++++++++++++++++-------------------- 4 files changed, 34 insertions(+), 23 deletions(-) delete mode 100644 HTML-Parser-3.67.tar.bz2 create mode 100644 HTML-Parser-3.68.tar.bz2 diff --git a/HTML-Parser-3.67.tar.bz2 b/HTML-Parser-3.67.tar.bz2 deleted file mode 100644 index e570633..0000000 --- a/HTML-Parser-3.67.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18 -size 75523 diff --git a/HTML-Parser-3.68.tar.bz2 b/HTML-Parser-3.68.tar.bz2 new file mode 100644 index 0000000..0b83c47 --- /dev/null +++ b/HTML-Parser-3.68.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:477f44e99f18447996695adfe0bb078e3f03b1582078cd9820ef759cf11840e7 +size 75664 diff --git a/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index c6db7ba..d207cf6 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Sep 6 09:35:03 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 +- fix deps + o Recommends HTTP::Headers not HTML::Headers + +------------------------------------------------------------------- +Thu Sep 2 05:13:03 UTC 2010 - pascal.bleser@opensuse.org + +- replaced auto-generated spec file +- update to 3.68: + * declare the encoding of the POD to be utf8 + ------------------------------------------------------------------- Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 95f9905..eda060b 100644 --- a/perl-HTML-Parser.spec +++ b/perl-HTML-Parser.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-HTML-Parser (Version 3.67) +# spec file for package perl-HTML-Parser (Version 3.68) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,7 +22,7 @@ Name: perl-HTML-Parser %define cpan_name HTML-Parser Summary: HTML parser class -Version: 3.67 +Version: 3.68 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl @@ -38,14 +38,13 @@ BuildRequires: perl-macros BuildRequires: perl(HTTP::Headers) BuildRequires: perl(Test::Pod) >= 1.00 %endif -BuildRequires: perl(HTML::Tagset) >= 3 BuildRequires: perl(Test::More) +BuildRequires: perl(HTML::Tagset) >= 3 BuildRequires: perl(XSLoader) # Requires: perl = %{perl_version} Requires: perl(HTML::Tagset) >= 3 Requires: perl(XSLoader) -# Recommends: perl(HTTP::Headers) %description @@ -55,33 +54,31 @@ 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. +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. +on-the-fly parsing as documents are received from the network possible. 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. +want to use HTML::PullParser. This is an HTML::Parser subclass that allows +a more conventional program structure. -Authors: --------- - libwww@perl.org +Authors: libwww@perl.org - COPYRIGHT +COPYRIGHT - © 1995-2008 Gisle Aas. All rights reserved. - © 1999-2000 Michael A. Chase. All rights reserved. +© 1995-2008 Gisle Aas. All rights reserved. +© 1999-2000 Michael A. Chase. All rights reserved. %prep %setup -q -n %{cpan_name}-%{version} # rpmlint: spurious-executable-perm -find ./eg -type f -exec %{__chmod} 0644 {} \; -%{__chmod} 0644 mkpfunc mkhctype +find ./eg -type f -exec %__chmod 0644 {} \; +%__chmod 0644 mkpfunc mkhctype %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"