[perl-Net-Amazon] update to 0.60
Iain Arnell
iarnell at fedoraproject.org
Sun Aug 14 07:53:04 UTC 2011
commit 98e93202b574bd5391025d615e88617a18607340
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Aug 14 09:52:43 2011 +0200
update to 0.60
.gitignore | 1 +
perl-Net-Amazon.spec | 18 +++++++++---------
sources | 2 +-
3 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 14864d3..95b5975 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Net-Amazon-0.59.tar.gz
+/Net-Amazon-0.60.tar.gz
diff --git a/perl-Net-Amazon.spec b/perl-Net-Amazon.spec
index e47926a..d7e6890 100644
--- a/perl-Net-Amazon.spec
+++ b/perl-Net-Amazon.spec
@@ -1,12 +1,11 @@
Name: perl-Net-Amazon
-Version: 0.59
-Release: 5%{?dist}
+Version: 0.60
+Release: 1%{?dist}
Summary: Framework for accessing amazon.com via REST
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-Amazon/
Source0: http://www.cpan.org/authors/id/B/BO/BOUMENOT/Net-Amazon-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -18,6 +17,8 @@ BuildRequires: perl(URI)
BuildRequires: perl(XML::Simple) >= 2.08
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?perl_default_filter}
+
%description
Net::Amazon provides an object-oriented interface to amazon.com's REST
interface. This way it's possible to create applications using Amazon's vast
@@ -32,8 +33,6 @@ underlying communication mechanism.
make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
-
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -44,16 +43,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 TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Aug 14 2011 Iain Arnell <iarnell at gmail.com> 0.60-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- use perl_default_filter
+
* Wed Jul 20 2011 Petr Sabata <contyk at redhat.com> - 0.59-5
- Perl mass rebuild
diff --git a/sources b/sources
index 6c01d66..3ce013d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-26332235ffb2c2585d9de9f938553c0a Net-Amazon-0.59.tar.gz
+20b8ca80ae5df79fd28c3f83aa1eb683 Net-Amazon-0.60.tar.gz
More information about the perl-devel
mailing list