update to 0.09

This commit is contained in:
Iain Arnell 2011-03-18 11:30:24 +01:00
parent c6b398790d
commit 0d9574b7e9
3 changed files with 9 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Try-Tiny-0.07.tar.gz /Try-Tiny-0.07.tar.gz
/Try-Tiny-0.09.tar.gz

View File

@ -1,12 +1,11 @@
Name: perl-Try-Tiny Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@ Summary: Minimal try/catch with proper localization of $@
Version: 0.07 Version: 0.09
Release: 2%{?dist} Release: 1%{?dist}
License: MIT License: MIT
Group: Development/Libraries 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 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)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch BuildArch: noarch
@ -30,8 +29,6 @@ time.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' 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 %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes %doc Changes
@ -51,6 +45,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/Try::Tiny.3pm* %{_mandir}/man3/Try::Tiny.3pm*
%changelog %changelog
* Fri Mar 18 2011 Iain Arnell <iarnell@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@lists.fedoraproject.org> - 0.07-2 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
a7a7645da6248f862855cd80bf67e29d Try-Tiny-0.07.tar.gz e526aa7d80cbc690c4a20925a592c13c Try-Tiny-0.09.tar.gz