Группа :: Разработка/Perl
Пакет: perl-Scope-Guard
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
#
# - 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
…
Полный changelog можно просмотреть здесь