Accepting request 88224 from devel:languages:perl

- update to 3.69
      Documentation fix; encode_utf8 mixup [RT#71151]
      Make it clearer that there are 2 (actually 3) options for handing "UTF-8 garbage"
      Github is the official repo
      Can't be bothered to try to fix the failures that occur on perl-5.6
      fix to TokeParser to correctly handle option configuration
      Aesthetic change: remove extra ;
      Trim surrounding whitespace from extracted URLs.
_______________________________________________________________________________

OBS-URL: https://build.opensuse.org/request/show/88224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Parser?expand=0&rev=23
This commit is contained in:
Sascha Peilicke 2011-10-18 12:26:43 +00:00 committed by Git OBS Bridge
commit 0bd31a8eff
4 changed files with 31 additions and 19 deletions

View File

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

3
HTML-Parser-3.69.tar.gz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Oct 17 01:36:26 UTC 2011 - vcizek@suse.com
- update to 3.69
Documentation fix; encode_utf8 mixup [RT#71151]
Make it clearer that there are 2 (actually 3) options for handing "UTF-8 garbage"
Github is the official repo
Can't be bothered to try to fix the failures that occur on perl-5.6
fix to TokeParser to correctly handle option configuration
Aesthetic change: remove extra ;
Trim surrounding whitespace from extracted URLs.
_______________________________________________________________________________
-------------------------------------------------------------------
Thu Aug 25 21:49:31 UTC 2011 - chris@computersalat.de

View File

@ -15,30 +15,29 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with opt
Name: perl-HTML-Parser
%define cpan_name HTML-Parser
Summary: HTML parser class
Version: 3.68
Version: 3.69
Release: 8
License: GPL+ or Artistic
Group: Development/Libraries/Perl
%define cpan_name HTML-Parser
Summary: HTML parser class
Url: http://search.cpan.org/dist/HTML-Parser/
Group: Development/Libraries/Perl
#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
%{perl_requires}
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%if %{with opt}
BuildRequires: perl(Test::Pod) >= 1.00
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(HTML::Tagset) >= 3
@ -70,15 +69,15 @@ a more conventional program structure.
%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"
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@ -86,7 +85,7 @@ find ./eg -type f -exec %__chmod 0644 {} \;
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)