Accepting request 45997 from devel:languages:perl

checked in (request 45997)

OBS-URL: https://build.opensuse.org/request/show/45997
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=19
This commit is contained in:
OBS User autobuild 2010-08-24 16:04:25 +00:00 committed by Git OBS Bridge
parent ee923a797b
commit 43c37c4f72
4 changed files with 20 additions and 49 deletions

3
HTML-Parser-3.66.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ece5c15fb5a4fd99c4121b62ef59cb58321fa9e8cc5ca810bd517420b396fb3
size 75486

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18
size 75523

View File

@ -1,16 +1,3 @@
-------------------------------------------------------------------
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 Mon Jul 12 09:33:04 CEST 2010 - dmueller@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package perl-HTML-Parser (Version 3.67) # spec file for package perl-HTML-Parser (Version 3.66)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -17,42 +17,32 @@
# norootforbuild # norootforbuild
%bcond_with opt
Name: perl-HTML-Parser Name: perl-HTML-Parser
%define cpan_name HTML-Parser %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: HTML parser class Summary: HTML parser class
Version: 3.67 Version: 3.66
Release: 1 Release: 1
License: GPL+ or Artistic License: Artistic License ..
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Parser/ Url: http://search.org/dist/HTML-Parser
#Source: http://www.cpan.org/modules/by-module/HTML/HTML-Parser-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2 Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
%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(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(HTML::Tagset) >= 3
BuildRequires: perl(XSLoader) BuildRequires: perl(XSLoader)
#
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Requires: perl(HTML::Tagset) >= 3 Requires: perl(HTML::Tagset) >= 3
Requires: perl(XSLoader) Requires: perl(XSLoader)
# Requires: perl(HTTP::Headers)
Recommends: perl(HTTP::Headers)
%description %description
Objects of the HTML::Parser class will recognize markup and separate it Objects of the HTML::Parser class will recognize markup and separate it from
from plain text (alias data content) in HTML documents. As different plain text (alias data content) in HTML documents. As different kinds of
kinds of markup and text are recognized, the corresponding event handlers markup and text are recognized, the corresponding event handlers are invoked.
are invoked.
HTML::Parser is not a generic SGML parser. We have tried to make it able to 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 deal with the HTML that is actually "out there", and it normally parses as
@ -68,23 +58,17 @@ 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 want to use HTML::PullParser. This is an HTML::Parser subclass that allows
a more conventional program structure. a more conventional program structure.
Authors: Authors: libwww@perl.org
--------
libwww@perl.org
COPYRIGHT COPYRIGHT
© 1995-2008 Gisle Aas. All rights reserved. © 1995-2008 Gisle Aas. All rights reserved.
© 1999-2000 Michael A. Chase. All rights reserved. © 1999-2000 Michael A. Chase. All rights reserved.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# rpmlint: spurious-executable-perm
find ./eg -type f -exec %{__chmod} 0644 {} \;
%{__chmod} 0644 mkpfunc mkhctype
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@ -99,7 +83,7 @@ find ./eg -type f -exec %{__chmod} 0644 {} \;
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(0644,root,root,0755)
%doc Changes mkhctype mkpfunc README TODO eg %doc Changes README TODO eg
%changelog %changelog