[perl-HTML-Parser] 3.69 bump

Petr Sabata psabata at fedoraproject.org
Mon Oct 17 07:54:04 UTC 2011


commit 63dba8f7eb3c7da4e20efe48aa19be0d6275a47d
Author: Petr Sabata <contyk at redhat.com>
Date:   Mon Oct 17 09:51:52 2011 +0200

    3.69 bump

 .gitignore            |    1 +
 perl-HTML-Parser.spec |   40 ++++++++++++++++++----------------------
 sources               |    2 +-
 3 files changed, 20 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 10ec625..6931ced 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,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
diff --git a/perl-HTML-Parser.spec b/perl-HTML-Parser.spec
index 1c2bc03..a5f16d5 100644
--- a/perl-HTML-Parser.spec
+++ b/perl-HTML-Parser.spec
@@ -2,24 +2,25 @@
 
 Name:           perl-%{real_name}
 Summary:        Perl module for parsing HTML
-Version:        3.68
-Release:        4%{?dist}
+Version:        3.69
+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/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(HTML::Tagset) >= 3
+BuildRequires:  perl(HTTP::Headers)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(URI)
 BuildRequires:  perl(XSLoader)
-
 Requires:       perl(HTML::Tagset) >= 3
+Requires:       perl(HTTP::Headers)
+Requires:       perl(URI)
 Requires:       perl(XSLoader)
 
-
 %{?perl_default_filter}
 %{?perl_default_subpackage_tests}
 
@@ -28,37 +29,28 @@ The HTML-Parser module for perl to parse and extract information from
 HTML documents, including the HTML::Entities, HTML::HeadParser,
 HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
 
-
 %prep
 %setup -q -n %{real_name}-%{version}
 chmod -c a-x eg/*
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-file=$RPM_BUILD_ROOT%{_mandir}/man3/HTML::Entities.3pm
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+file=%{buildroot}%{_mandir}/man3/HTML::Entities.3pm
 iconv -f iso-8859-1 -t utf-8 <"$file" > "${file}_"
 mv -f "${file}_" "$file"
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+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
 make test
 
-%clean 
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README TODO eg/
 %{perl_vendorarch}/HTML/
 %{perl_vendorarch}/auto/HTML/
@@ -66,6 +58,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Oct 17 2011 Petr Sabata <contyk at redhat.com> - 3.69-1
+- 3.69 bump
+- Drop Buildroot and defattr, cleanup
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3.68-4
 - Perl mass rebuild
 
diff --git a/sources b/sources
index ce396d6..35e3969 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5550b2da7aa94341f1e8a17a4ac20c68  HTML-Parser-3.68.tar.gz
+d22cc6468ce670a56034be907e4e7c54  HTML-Parser-3.69.tar.gz


More information about the scm-commits mailing list