%define upstream_name ogd %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 10 Summary: Ordered global destruction of objects stored in globals License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/authors/id/E/EL/ELIZABETH/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(B) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildArch: noarch %description This module adds ordered destruction of objects stored in global variables in LIFO order during global destruction. Ordered global destruction is only applicable to objects stored in non-lexical variables (even if they are in file scope). Apparently Perl destroys all objects stored file-level lexicals before the first END block is called. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install %files %doc CHANGELOG META.json META.yml MYMETA.yml README TODO VERSION %{perl_vendorlib}/ogd.pm %{_mandir}/*/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.30.0-10.mga9 + Revision: 1805024 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.30.0-9.mga8 + Revision: 1496188 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Wed Sep 19 2018 umeabot <umeabot> 0.30.0-8.mga7 + Revision: 1270225 - Mageia 7 Mass Rebuild * Sun Jun 19 2016 pterjan <pterjan> 0.30.0-7.mga6 + Revision: 1031515 - Rebuild for perl 5.22.2 * Mon Feb 01 2016 umeabot <umeabot> 0.30.0-6.mga6 + Revision: 929866 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.30.0-5.mga5 + Revision: 739598 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.30.0-4.mga5 + Revision: 687047 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.30.0-3.mga4 + Revision: 516433 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.30.0-2.mga3 + Revision: 375533 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Sep 27 2012 jquelin <jquelin> 0.30.0-1.mga3 + Revision: 298771 - update to 0.03 * Sat Jun 11 2011 spuhler <spuhler> 0.02-7.mga2 + Revision: 103967 - increase rel for rebuild * Sat Jan 22 2011 jquelin <jquelin> 0.02-6.mga1 + Revision: 32789 - mageia rebuild - imported package perl-ogd * Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.02-6mdv2010.0 + Revision: 430518 - rebuild * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.02-5mdv2009.0 + Revision: 241806 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.02-3mdv2008.0 + Revision: 86738 - rebuild * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.02-2mdv2007.0 - Rebuild * Thu Mar 23 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.02-1mdk - first mdk release