commit a39aeb29d9ddbeb14755e5f62b1dee22097ef7f1 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Dec 17 16:56:36 2010 +0100 update to 0.20 .gitignore | 1 + perl-Scope-Guard.spec | 17 ++++++++--------- sources | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 406043a..7111e82 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Scope-Guard-0.12.tar.gz +/Scope-Guard-0.20.tar.gz diff --git a/perl-Scope-Guard.spec b/perl-Scope-Guard.spec index 2594f58..afe2d69 100644 --- a/perl-Scope-Guard.spec +++ b/perl-Scope-Guard.spec @@ -1,12 +1,11 @@ Name: perl-Scope-Guard Summary: Lexically scoped resource management -Version: 0.12 -Release: 2%{?dist} +Version: 0.20 +Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz URL: http://search.cpan.org/dist/Scope-Guard/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -23,7 +22,7 @@ resource management at the end of a scope. It is particularly useful when dealing with exceptions: the Scope::Guard constructor takes a reference to a subroutine that is guaranteed to be called even if the thread of execution is aborted prematurely. This effectively allows lexically-scoped -"promises" to be made that are automatically honoured by perl's garbage +"promises" to be made that are automatically honored by perl's garbage collector. %prep @@ -34,8 +33,6 @@ collector. make %{?_smp_mflags} %install -rm -rf %{buildroot} - make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} + @@ -46,9 +43,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %check make test -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root,-) %doc Changes README @@ -56,6 +50,11 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Fri Dec 17 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.20-1 +- update to latest upstream version +- clean up spec for modern rpmbuild +- US spelling in description + * Thu May 06 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.12-2 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index d8823c0..c38bc81 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -74a5c78230e219defb86954cb2ceec85 Scope-Guard-0.12.tar.gz +495d5ae16a2df8128fd068c386c9d4ac Scope-Guard-0.20.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel