8
0

- 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/package/show/devel:languages:perl/perl-HTML-Parser?expand=0&rev=37
This commit is contained in:
Vítězslav Čížek
2011-10-17 14:42:16 +00:00
committed by Git OBS Bridge
parent ccf113336e
commit 3a3bbbc93c
4 changed files with 31 additions and 19 deletions

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,-)