[perl-HTML-TableExtract] 2.11 bump, fixing build

Petr Šabata psabata at fedoraproject.org
Thu Mar 7 15:41:44 UTC 2013


commit 4e583d02d5f05366a27a7e11a8cacd260235cd2b
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Mar 7 16:41:41 2013 +0100

    2.11 bump, fixing build

 .gitignore                  |    1 +
 perl-HTML-TableExtract.spec |   37 ++++++++++++++++++++++++-------------
 sources                     |    2 +-
 3 files changed, 26 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3b92133..edbcb94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 HTML-TableExtract-2.10.tar.gz
+/HTML-TableExtract-2.11.tar.gz
diff --git a/perl-HTML-TableExtract.spec b/perl-HTML-TableExtract.spec
index ff74cd6..75593c2 100644
--- a/perl-HTML-TableExtract.spec
+++ b/perl-HTML-TableExtract.spec
@@ -1,15 +1,29 @@
 Name:           perl-HTML-TableExtract
-Version:        2.10
-Release: 	14%{?dist}
+Version:        2.11
+Release: 	1%{?dist}
 Summary:        A Perl module for extracting content in HTML tables
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:		http://www.mojotoad.com/sisk/projects/HTML-TableExtract/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/HTML-TableExtract-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-BuildRequires:	perl(HTML::TreeBuilder) perl(Test::Pod) perl(Test::Pod::Coverage)
+BuildRequires:	perl
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(FindBin)
+BuildRequires:	perl(HTML::ElementTable)
+BuildRequires:	perl(HTML::Entities)
+BuildRequires:	perl(HTML::Parser)
+BuildRequires:	perl(HTML::TreeBuilder)
+BuildRequires:	perl(lib)
+BuildRequires:	perl(strict)
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Pod)
+BuildRequires:	perl(Test::Pod::Coverage)
+BuildRequires:	perl(vars)
 
 %description
 HTML::TableExtract is a module that simplifies the extraction of
@@ -27,27 +41,24 @@ documentation for details.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/HTML/
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Wed Mar 06 2013 Petr Šabata <contyk at redhat.com> - 2.11-1
+- 2.11 build
+- Minor spec cleanup
+- Fix the build by correcting BRs
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.10-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index 73dfcc0..fb748af 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e6e355f6049dc57706e719c5ce61ff39  HTML-TableExtract-2.10.tar.gz
+ac1b8fa092d53931a9f3fdbba330f5b0  HTML-TableExtract-2.11.tar.gz


More information about the scm-commits mailing list