Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37564472
en ru br
ALT Linux repos
S:0.21-alt2
5.0: 0.03-alt2

Group :: Development/Perl
RPM: perl-Scope-Guard

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
#
#   - Scope::Guard -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       Scope::Guard
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Scope-Guard
%define m_distro Scope-Guard
%define m_name Scope::Guard
%define m_author_id CHOCOLATE
%define _enable_test 1

Name: perl-Scope-Guard
Version: 0.21
Release: alt2

Summary: lexically scoped resource management
License: Artistic
Group: Development/Perl

Url: http://search.cpan.org/dist/Scope-Guard/
Source: http://www.cpan.org/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
Packager: Michael Bochkaryov <misha at altlinux.ru>

BuildArch: noarch

# Automatically added by buildreq on Tue Sep 23 2008 (-bi)

BuildRequires: perl-Test-Pod 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 -n %m_distro-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/Scope*
%doc Changes README

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin