Updating link to change in openSUSE:Factory/perl-HTML-Parser revision 15.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=fc37ac63a01e074317158c1dc1f1e41d
This commit is contained in:
parent
43c37c4f72
commit
74bf79d104
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ece5c15fb5a4fd99c4121b62ef59cb58321fa9e8cc5ca810bd517420b396fb3
|
||||
size 75486
|
3
HTML-Parser-3.67.tar.bz2
Normal file
3
HTML-Parser-3.67.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9ffdedc1edf11b52588914786833ff425be512644f5016164b84c63fdb8de18
|
||||
size 75523
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user