123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- Summary: Expose PL_dirty, the flag that marks global destruction
- Name: perl-Devel-GlobalDestruction
- Version: 0.14
- Release: 10%{?_dist_release}
- Group: programming
- Vendor: Project Vine
- Distribution: Vine Linux
- License: GPL+ or Artistic
- URL: https://metacpan.org/pod/Devel::GlobalDestruction
- Source: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Devel-GlobalDestruction-%{version}.tar.gz
- BuildArch: noarch
- BuildRequires: perl >= 2:5.34.0
- BuildRequires: perl(ExtUtils::CBuilder)
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Sub::Exporter::Progressive)
- BuildRequires: perl(XSLoader)
- Requires: perl >= 2:5.34.0
- # Don't "provide" private Perl libs
- %{?perl_default_filter}
- %description
- Perl's global destruction is a little tricky to deal with with respect to
- finalizers because it's not ordered and objects can sometimes disappear.
- Writing defensive destructors is hard and annoying, and usually if global
- destruction is happening 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 Devel-GlobalDestruction-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
- find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
- %{_fixperms} %{buildroot}
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc Changes t/
- %{perl_vendorlib}/Devel/
- %{_mandir}/man3/Devel::GlobalDestruction.3pm*
- %changelog
- * Sun Nov 21 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.14-10
- - new upstream release.
- - built with perl-5.34.0.
- * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.13-1
- - updated to 0.13
- - built with perl 5.16.3
- * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
- - initial build for Vine Linux
- * Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
- - Update to 0.04
- - To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
- instead of a specific perl version
- - Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
- - Stop depending on Scope::Guard for the tests
- - Upgrade ppport.h from version 3.13 to 3.19
- - Drop no-longer-necessary buildreq perl(Scope::Guard)
- - Use DESTDIR rather than PERL_INSTALL_ROOT
- - BR: perl(XSLoader)
- * Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.03-3
- - Fedora 17 mass rebuild
- * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-2
- - Perl mass rebuild
- * Fri Jun 24 2011 Paul Howarth <paul@city-fan.org> - 0.03-1
- - Update to 0.03
- - Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE}
- (5.13.7 onwards)
- - Require at least Perl 5.6
- - Use XSLoader without a fallback to DynaLoader
- - Use our instead of use vars
- - This release by FLORA -> update source URL
- - Package is noarch from perl 5.13.7
- - Package Changes file
- - Use %%{?perl_default_filter}
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-11
- - Rebuild to fix problems with vendorarch/lib (#661697)
- * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-10
- - Mass rebuild with perl-5.12.0
- * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-9
- - Mass rebuild with perl-5.12.0
- * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.02-8
- - rebuild against perl 5.10.1
- * Sun Aug 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-7
- - bump
- * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-6
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-5
- - Stripping bad provides of private Perl extension libs
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Mon Nov 03 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-3
- - bump
- * Sat Nov 01 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-2
- - tweak summary
- * Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
- - clean up for review submission
- * Sun Oct 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0.1
- - initial RPM packaging
- - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
|