[perl-HTML-Parser/f18] 3.71 bump

Jitka Plesnikova jplesnik at fedoraproject.org
Mon Oct 14 07:58:45 UTC 2013


commit 04d75ac4e10b6f20fd3cf0bd730603f921f88922
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Mon Oct 14 09:58:32 2013 +0200

    3.71 bump

 .gitignore            |    1 +
 perl-HTML-Parser.spec |   43 +++++++++++++++++++++++++++----------------
 sources               |    2 +-
 3 files changed, 29 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6931ced..2832d6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ HTML-Parser-3.66.tar.gz
 /HTML-Parser-3.67.tar.gz
 /HTML-Parser-3.68.tar.gz
 /HTML-Parser-3.69.tar.gz
+/HTML-Parser-3.71.tar.gz
diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec
index fdbb035..8bcd98b 100644
--- a/perl-HTML-Parser.spec
+++ b/perl-HTML-Parser.spec
@@ -1,31 +1,41 @@
-%define real_name HTML-Parser
-
-Name:           perl-%{real_name}
+Name:           perl-HTML-Parser
 Summary:        Perl module for parsing HTML
-Version:        3.69
-Release:        8%{?dist}
+Version:        3.71
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/HTML-Parser/
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildRequires:  perl
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(FileHandle)
 BuildRequires:  perl(HTML::Tagset) >= 3
 %if %{undefined perl_bootstrap}
 # This creates cycle with perl-HTTP-Message.
 BuildRequires:  perl(HTTP::Headers)
 %endif
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(SelectSaver)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(threads)
 BuildRequires:  perl(URI)
+BuildRequires:  perl(vars)
 BuildRequires:  perl(XSLoader)
 Requires:       perl(HTML::Tagset) >= 3
 Requires:       perl(HTTP::Headers)
+Requires:       perl(IO::File)
 Requires:       perl(URI)
-Requires:       perl(XSLoader)
 
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(HTML::Tagset\\)$
 
 %description
 The HTML-Parser module for perl to parse and extract information from
@@ -33,21 +43,21 @@ HTML documents, including the HTML::Entities, HTML::HeadParser,
 HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
 
 %prep
-%setup -q -n %{real_name}-%{version}
+%setup -q -n HTML-Parser-%{version}
 chmod -c a-x eg/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
-iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_"
-mv -f "${file}_" "$file"
+iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_" && \
+    touch -r ${file} ${file}_ && \
+    mv -f "${file}_" "$file"
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w %{buildroot}/*
 
 %check
@@ -59,8 +69,9 @@ make test
 %{perl_vendorarch}/auto/HTML/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
+* Mon Oct 14 2013 Jitka Plesnikova <jplesnik at redhat.com> - 3.71-1
+- 3.71 bump
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.69-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
@@ -172,7 +183,7 @@ make test
 * Mon Jun 05 2006 Jason Vas Dias <jvdias at redhat.com> - 3.54-1
 - upgrade to 3.54
 
-* Mon Mar 22 2006 Jason Vas Dias <jvdias at redhat.com> - 3.51-1
+* Wed Mar 22 2006 Jason Vas Dias <jvdias at redhat.com> - 3.51-1
 - upgrade to 3.51
 
 * Mon Feb 20 2006 Jason Vas Dias <jvdias at redhat.com> - 3.50-1
@@ -235,7 +246,7 @@ make test
 * Wed Jan 09 2002 Tim Powers <timp at redhat.com>
 - automated rebuild
 
-* Thu Jul 18 2001 Crutcher Dunnavant <crutcher at redhat.com> 3.25-2
+* Thu Jul 19 2001 Crutcher Dunnavant <crutcher at redhat.com> 3.25-2
 - imported from mandrake. tweaked man path.
 
 * Tue Jul 03 2001 François Pons <fpons at mandrakesoft.com> 3.25-1mdk
diff --git a/sources b/sources
index 35e3969..1031944 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d22cc6468ce670a56034be907e4e7c54  HTML-Parser-3.69.tar.gz
+9128a45893097dfa3bf03301b19c5efe  HTML-Parser-3.71.tar.gz


More information about the scm-commits mailing list