Group :: Development/Perl
RPM: perl-Devel-GlobalDestruction
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist Devel-GlobalDestruction
Name: perl-%dist
Serial: 1
Version: 0.12
Release: alt1
Summary: Expose the flag which marks global destruction
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/H/HA/HAARG/Devel-GlobalDestruction-%{version}.tar.gz
BuildArch: noarch
# New global variable ${^GLOBAL_PHASE}
Requires: perl-base >= 1:5.14
BuildRequires: perl-base >= 1:5.14
# Automatically added by buildreq on Sun Oct 09 2011
BuildRequires: perl-Sub-Exporter perl-devel perl-Sub-Exporter-Progressive
%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 %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/Devel
%changelog
…
Full changelog you can see here
Name: perl-%dist
Serial: 1
Version: 0.12
Release: alt1
Summary: Expose the flag which marks global destruction
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/H/HA/HAARG/Devel-GlobalDestruction-%{version}.tar.gz
BuildArch: noarch
# New global variable ${^GLOBAL_PHASE}
Requires: perl-base >= 1:5.14
BuildRequires: perl-base >= 1:5.14
# Automatically added by buildreq on Sun Oct 09 2011
BuildRequires: perl-Sub-Exporter perl-devel perl-Sub-Exporter-Progressive
%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 %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes
%perl_vendor_privlib/Devel
%changelog
…
Full changelog you can see here