[perl-Try-Tiny] update to 0.09
Iain Arnell
iarnell at fedoraproject.org
Fri Mar 18 10:30:58 UTC 2011
commit 0d9574b7e911123925c2d7bd4143ad0845d4aba6
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Mar 18 11:30:24 2011 +0100
update to 0.09
.gitignore | 1 +
perl-Try-Tiny.spec | 16 +++++++---------
sources | 2 +-
3 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 443ed3b..1bd9357 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/Try-Tiny-0.07.tar.gz
+/Try-Tiny-0.09.tar.gz
diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index 3f4add5..23620df 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -1,12 +1,11 @@
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
-Version: 0.07
-Release: 2%{?dist}
+Version: 0.09
+Release: 1%{?dist}
License: MIT
Group: Development/Libraries
-Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Try-Tiny-%{version}.tar.gz
+Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
URL: http://search.cpan.org/dist/Try-Tiny
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@@ -30,8 +29,6 @@ time.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -41,9 +38,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc Changes
@@ -51,6 +45,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Try::Tiny.3pm*
%changelog
+* Fri Mar 18 2011 Iain Arnell <iarnell at gmail.com> 0.09-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 6566eb5..3803b8d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a7a7645da6248f862855cd80bf67e29d Try-Tiny-0.07.tar.gz
+e526aa7d80cbc690c4a20925a592c13c Try-Tiny-0.09.tar.gz
More information about the perl-devel
mailing list