diff --git a/HTML-Parser-3.66.tar.bz2 b/HTML-Parser-3.66.tar.bz2 deleted file mode 100644 index bc8a44d..0000000 --- a/HTML-Parser-3.66.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ece5c15fb5a4fd99c4121b62ef59cb58321fa9e8cc5ca810bd517420b396fb3 -size 75486 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/perl-HTML-Parser.changes b/perl-HTML-Parser.changes index 3d76f52..c6db7ba 100644 --- a/perl-HTML-Parser.changes +++ b/perl-HTML-Parser.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Aug 20 12:39:37 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 + o fix deps +- added bcond_with opt + +------------------------------------------------------------------- +Wed Aug 18 09:14:32 CEST 2010 - dmueller@suse.de + +- update to 3.67: + * bleadperl 2154eca7 breaks HTML::Parser 3.66 + ------------------------------------------------------------------- Mon Jul 12 09:33:04 CEST 2010 - dmueller@suse.de diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec index 20adfc4..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.66) +# spec file for package perl-HTML-Parser (Version 3.67) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,32 +17,42 @@ # norootforbuild +%bcond_with opt Name: perl-HTML-Parser -%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +%define cpan_name HTML-Parser Summary: HTML parser class -Version: 3.66 +Version: 3.67 Release: 1 -License: Artistic License .. +License: GPL+ or Artistic Group: Development/Libraries/Perl -Url: http://search.org/dist/HTML-Parser +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 +%if 0%{?suse_version} < 1120 BuildRequires: perl-macros -BuildRequires: perl(Test::More) +%endif +%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) -Requires: perl(HTTP::Headers) +# +Recommends: perl(HTTP::Headers) %description -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. +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 @@ -58,17 +68,23 @@ 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 +Authors: +-------- + libwww@perl.org 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 %build -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check @@ -83,7 +99,7 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files -%defattr(0644,root,root,0755) -%doc Changes README TODO eg +%defattr(-,root,root,-) +%doc Changes mkhctype mkpfunc README TODO eg %changelog