Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37538604
en ru br
ALT Linux repos
S:0.14-alt1
5.0: 0.02-alt1

Group :: Development/Perl
RPM: perl-Devel-GlobalDestruction

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

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

%define module Devel-GlobalDestruction
%define m_distro Devel-GlobalDestruction
%define m_name Devel::GlobalDestruction
%define m_author_id unknown
%define _enable_test 1

Name: perl-Devel-GlobalDestruction
Version: 0.02
Release: alt1

Summary: Expose PL_dirty, the flag which marks global

License: Artistic
Group: Development/Perl
Url: http://www.cpan.org

Packager: Mikhail Pokidko <pma at altlinux.org>

Source: %m_distro-%version.tar.gz

# Automatically added by buildreq on Mon Oct 20 2008

BuildRequires: perl-devel perl-Scope-Guard perl-Sub-Exporter

%description
Perl's global destruction is a little tricky to deal with WRT finalizers
because it's not ordered and objects can sometimes disappear.

Writing defensive destructors is hard and annoying, and usually if global
destruction is happenning you only need the destructors that free up non
process local resources to actually execute.

For these constructors you can avoid the mess by simply bailing out if global
destruction is in effect.

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install
rm -rf %buildroot%perl_vendor_man3dir/

%files
%perl_vendor_archlib/Devel/*
%perl_vendor_autolib/Devel/*

%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