rpms/perl-Scope-Guard/devel perl-Scope-Guard.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Mon Nov 26 18:19:11 UTC 2007
- Previous message (by thread): rpms/accrete/devel accrete-1.0-savetofile.patch, NONE, 1.1 accrete.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Scope-Guard/devel perl-Scope-Guard.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cweyl
Update of /cvs/extras/rpms/perl-Scope-Guard/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17575/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Scope-Guard.spec
Log Message:
--- NEW FILE perl-Scope-Guard.spec ---
Name: perl-Scope-Guard
Version: 0.03
Release: 1%{?dist}
Summary: Lexically scoped resource management
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Scope-Guard/
Source0: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# core
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
# test
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
%description
This module provides a convenient way to perform cleanup or other forms of
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
collector.
%prep
%setup -q -n Scope-Guard-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Tue Sep 18 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.03-1
- Specfile autogenerated by cpanspec 1.71.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Scope-Guard/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 26 Nov 2007 17:54:15 -0000 1.1
+++ .cvsignore 26 Nov 2007 18:18:37 -0000 1.2
@@ -0,0 +1 @@
+Scope-Guard-0.03.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Scope-Guard/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 26 Nov 2007 17:54:15 -0000 1.1
+++ sources 26 Nov 2007 18:18:37 -0000 1.2
@@ -0,0 +1 @@
+a33ab0a31d837b94797e61050afff894 Scope-Guard-0.03.tar.gz
- Previous message (by thread): rpms/accrete/devel accrete-1.0-savetofile.patch, NONE, 1.1 accrete.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Scope-Guard/devel perl-Scope-Guard.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list