[perl-XML-Feed] update to 0.46
Iain Arnell
iarnell at fedoraproject.org
Fri Jan 20 05:32:52 UTC 2012
commit bb6294faee6b2ebafc158b38405b354077cc19ac
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Jan 20 06:32:39 2012 +0100
update to 0.46
.gitignore | 1 +
perl-XML-Feed.spec | 34 +++++++++++++++++-----------------
sources | 2 +-
3 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ce5c37a..3f78a0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
XML-Feed-0.43.tar.gz
+/XML-Feed-0.46.tar.gz
diff --git a/perl-XML-Feed.spec b/perl-XML-Feed.spec
index ab4de78..6c6abc2 100644
--- a/perl-XML-Feed.spec
+++ b/perl-XML-Feed.spec
@@ -1,35 +1,36 @@
Name: perl-XML-Feed
-Version: 0.43
-Release: 9%{?dist}
+Version: 0.46
+Release: 1%{?dist}
Summary: Syndication feed parser and auto-discovery
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-Feed/
-Source0: http://www.cpan.org/authors/id/S/SI/SIMONW/XML-Feed-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/XML-Feed-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Class::ISA)
BuildRequires: perl(Class::ErrorHandler)
BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Mail)
BuildRequires: perl(DateTime::Format::W3CDTF)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Feed::Find)
+BuildRequires: perl(HTML::Entities)
BuildRequires: perl(HTML::TokeParser)
+BuildRequires: perl(List::Util)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Test::More)
BuildRequires: perl(URI::Fetch)
-BuildRequires: perl(XML::Atom) >= 0.32
+BuildRequires: perl(XML::Atom) >= 0.37
BuildRequires: perl(XML::LibXML) >= 1.66
-BuildRequires: perl(XML::RSS) >= 1.44
-# only for tests - review at BZ #501098
-#BuildRequires: perl(XML::RSS::LibXML)
+BuildRequires: perl(XML::RSS) >= 1.47
+BuildRequires: perl(XML::RSS::LibXML)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(Class::ErrorHandler)
-Requires: perl(XML::RSS) >= 1.44
+Requires: perl(XML::RSS) >= 1.47
+
+%?perl_default_filter
%description
XML::Feed is a syndication feed parser for both RSS and Atom feeds. It also
@@ -43,9 +44,7 @@ implements feed auto-discovery for finding feeds, given a URI.
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 -depth -type d -exec rmdir {} 2>/dev/null \;
@@ -55,16 +54,17 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jan 20 2012 Iain Arnell <iarnell at gmail.com> 0.46-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter and DESTDIR
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.43-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
diff --git a/sources b/sources
index 2a0e6be..7e645d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5368f0e7d4f1fcbfa5c34606717115af XML-Feed-0.43.tar.gz
+3089c4a19346165d1e3692c2cd912beb XML-Feed-0.46.tar.gz
More information about the scm-commits
mailing list