|
|
32c3b7a |
# Package is noarch from perl 5.13.7
|
|
|
32c3b7a |
%global noarch_package %(perl -e 'print (($] >= 5.013007) ? 1 : 0);')
|
|
|
32c3b7a |
|
|
|
f8e941e |
Name: perl-Devel-GlobalDestruction
|
|
|
2e8d642 |
Version: 0.09
|
|
|
f7308a9 |
Release: 1%{?dist}
|
|
|
f8e941e |
License: GPL+ or Artistic
|
|
|
f8e941e |
Group: Development/Libraries
|
|
|
f8e941e |
Summary: Expose PL_dirty, the flag that marks global destruction
|
|
|
f8e941e |
Url: http://search.cpan.org/dist/Devel-GlobalDestruction
|
|
|
2e8d642 |
Source: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/Devel-GlobalDestruction-%{version}.tar.gz
|
|
|
9928221 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
|
|
32c3b7a |
%if %{noarch_package}
|
|
|
f8e941e |
BuildArch: noarch
|
|
|
9928221 |
%else
|
|
|
9928221 |
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
|
|
9928221 |
BuildRequires: perl(XSLoader)
|
|
|
9928221 |
Requires: perl(XSLoader)
|
|
|
32c3b7a |
%endif
|
|
|
f8e941e |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
f7308a9 |
BuildRequires: perl(File::Spec)
|
|
|
f7308a9 |
BuildRequires: perl(File::Temp)
|
|
|
7df554d |
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001002
|
|
|
f7308a9 |
BuildRequires: perl(threads)
|
|
|
f8e941e |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
9928221 |
Requires: perl(Carp)
|
|
Chris Weyl |
66dc3f1 |
|
|
|
f8e941e |
# Don't "provide" private Perl libs
|
|
|
32c3b7a |
%{?perl_default_filter}
|
|
Chris Weyl |
b26058c |
|
|
Chris Weyl |
66dc3f1 |
%description
|
|
Chris Weyl |
66dc3f1 |
Perl's global destruction is a little tricky to deal with with respect to
|
|
Chris Weyl |
66dc3f1 |
finalizers because it's not ordered and objects can sometimes disappear.
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
Writing defensive destructors is hard and annoying, and usually if global
|
|
|
0a70c40 |
destruction is happening you only need the destructors that free up non
|
|
Chris Weyl |
66dc3f1 |
process local resources to actually execute.
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
For these constructors you can avoid the mess by simply bailing out if
|
|
Chris Weyl |
66dc3f1 |
global destruction is in effect.
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%prep
|
|
Chris Weyl |
66dc3f1 |
%setup -q -n Devel-GlobalDestruction-%{version}
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%build
|
|
|
f8e941e |
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
Chris Weyl |
66dc3f1 |
make %{?_smp_mflags}
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%install
|
|
Chris Weyl |
66dc3f1 |
rm -rf %{buildroot}
|
|
|
f8e941e |
make pure_install DESTDIR=%{buildroot}
|
|
Chris Weyl |
66dc3f1 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
Chris Weyl |
66dc3f1 |
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
0a70c40 |
%{_fixperms} %{buildroot}
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%check
|
|
Chris Weyl |
66dc3f1 |
make test
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%clean
|
|
|
f8e941e |
rm -rf %{buildroot}
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%files
|
|
|
32c3b7a |
%doc Changes t/
|
|
|
32c3b7a |
%if %{noarch_package}
|
|
|
32c3b7a |
%{perl_vendorlib}/Devel/
|
|
|
32c3b7a |
%else
|
|
|
32c3b7a |
%{perl_vendorarch}/auto/Devel/
|
|
|
32c3b7a |
%{perl_vendorarch}/Devel/
|
|
|
32c3b7a |
%endif
|
|
|
32c3b7a |
%{_mandir}/man3/Devel::GlobalDestruction.3pm*
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
%changelog
|
|
|
2e8d642 |
* Thu Aug 9 2012 Paul Howarth <paul@city-fan.org> - 0.09-1
|
|
|
2e8d642 |
- Update to 0.09
|
|
|
2e8d642 |
- Rewrite completely broken pure-perl GD detection under threads
|
|
|
2e8d642 |
- Fix pure-perl implementation incorrectly reporting GD during END phase
|
|
|
2e8d642 |
- This release by RIBASUSHI -> update source URL
|
|
|
2e8d642 |
|
|
|
7df554d |
* Wed Aug 1 2012 Paul Howarth <paul@city-fan.org> - 0.08-1
|
|
|
7df554d |
- Update to 0.08
|
|
|
7df554d |
- Switch to Sub::Exporter::Progressive
|
|
|
7df554d |
- BR: perl(Sub::Exporter::Progressive) ≥ 0.001002 rather than plain
|
|
|
7df554d |
perl(Sub::Exporter)
|
|
|
7df554d |
|
|
|
f7308a9 |
* Thu Jul 26 2012 Paul Howarth <paul@city-fan.org> - 0.07-1
|
|
|
f7308a9 |
- Update to 0.07
|
|
|
f7308a9 |
- Actually detect errors in pure-perl test
|
|
|
f7308a9 |
- Add prototype to pure-perl pre-5.14 version
|
|
|
f7308a9 |
- This release by FLORA -> update source URL
|
|
|
f7308a9 |
- BR: perl(File::Spec), perl(File::Temp) and perl(threads)
|
|
|
f7308a9 |
|
|
|
2c1a31e |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
|
|
|
2c1a31e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2c1a31e |
|
|
|
4bf1237 |
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.06-2
|
|
|
4bf1237 |
- Perl 5.16 rebuild
|
|
|
4bf1237 |
|
|
|
a1a9158 |
* Thu Jun 14 2012 Paul Howarth <paul@city-fan.org> - 0.06-1
|
|
|
a1a9158 |
- Update to 0.06
|
|
|
a1a9158 |
- De-retardize XS-less behavior under SpeedyCGI
|
|
|
a1a9158 |
- Test suite now works from within space-containing paths
|
|
|
a1a9158 |
- This release by RIBASUSHI -> update source URL
|
|
|
a1a9158 |
|
|
|
5b001fd |
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.05-2
|
|
|
5b001fd |
- Perl 5.16 rebuild
|
|
|
5b001fd |
|
|
|
9928221 |
* Fri Apr 27 2012 Paul Howarth <paul@city-fan.org> - 0.05-1
|
|
|
9928221 |
- Update to 0.05
|
|
|
9928221 |
- Add pure-perl implementation for situations where neither ${^GLOBAL_PHASE}
|
|
|
9928221 |
nor XS are available
|
|
|
9928221 |
- This release by DOY -> update source URL
|
|
|
9928221 |
- BR: perl(XSLoader) only if we're doing an XS build, and in that case add a
|
|
|
9928221 |
runtime dependency on it and BR: perl(ExtUtils::CBuilder) ≥ 0.27 too
|
|
|
9928221 |
- Add runtime dependency on perl(Carp)
|
|
|
9928221 |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
9928221 |
|
|
|
f8e941e |
* Fri Jan 13 2012 Paul Howarth <paul@city-fan.org> - 0.04-1
|
|
|
f8e941e |
- Update to 0.04
|
|
|
f8e941e |
- To detect a perl with ${^GLOBAL_PHASE}, check for the feature itself
|
|
|
f8e941e |
instead of a specific perl version
|
|
|
f8e941e |
- Update the documentation to reflect the use of ${^GLOBAL_PHASE} if available
|
|
|
f8e941e |
- Stop depending on Scope::Guard for the tests
|
|
|
f8e941e |
- Upgrade ppport.h from version 3.13 to 3.19
|
|
|
f8e941e |
- Drop no-longer-necessary buildreq perl(Scope::Guard)
|
|
|
f8e941e |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
f8e941e |
- BR: perl(XSLoader)
|
|
|
f8e941e |
|
|
|
40194a0 |
* Wed Jan 11 2012 Paul Howarth <paul@city-fan.org> - 0.03-3
|
|
|
40194a0 |
- Fedora 17 mass rebuild
|
|
|
40194a0 |
|
|
|
5c57062 |
* Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.03-2
|
|
|
5c57062 |
- Perl mass rebuild
|
|
|
5c57062 |
|
|
|
32c3b7a |
* Fri Jun 24 2011 Paul Howarth <paul@city-fan.org> - 0.03-1
|
|
|
32c3b7a |
- Update to 0.03
|
|
|
32c3b7a |
- Drop the XS code on perl versions recent enough to have ${^GLOBAL_PHASE}
|
|
|
32c3b7a |
(5.13.7 onwards)
|
|
|
32c3b7a |
- Require at least Perl 5.6
|
|
|
32c3b7a |
- Use XSLoader without a fallback to DynaLoader
|
|
|
32c3b7a |
- Use our instead of use vars
|
|
|
32c3b7a |
- This release by FLORA -> update source URL
|
|
|
32c3b7a |
- Package is noarch from perl 5.13.7
|
|
|
32c3b7a |
- Package Changes file
|
|
|
32c3b7a |
- Use %%{?perl_default_filter}
|
|
|
32c3b7a |
|
|
|
762a026 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-12
|
|
|
762a026 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
762a026 |
|
|
|
9effa62 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-11
|
|
|
0a70c40 |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
9effa62 |
|
|
|
46fd3af |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-10
|
|
|
46fd3af |
- Mass rebuild with perl-5.12.0
|
|
|
46fd3af |
|
|
|
06bab04 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.02-9
|
|
|
06bab04 |
- Mass rebuild with perl-5.12.0
|
|
|
06bab04 |
|
|
|
43d80ee |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.02-8
|
|
|
43d80ee |
- rebuild against perl 5.10.1
|
|
|
43d80ee |
|
|
Chris Weyl |
816c82a |
* Sun Aug 23 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-7
|
|
Chris Weyl |
816c82a |
- bump
|
|
Chris Weyl |
816c82a |
|
|
|
fc1e091 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-6
|
|
|
fc1e091 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fc1e091 |
|
|
Chris Weyl |
b26058c |
* Sat May 23 2009 Chris Weyl <cweyl@alumni.drew.edu> - 0.02-5
|
|
Chris Weyl |
b26058c |
- Stripping bad provides of private Perl extension libs
|
|
Chris Weyl |
b26058c |
|
|
|
da269df |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.02-4
|
|
|
da269df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
da269df |
|
|
Chris Weyl |
6fb5eda |
* Mon Nov 03 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-3
|
|
Chris Weyl |
6fb5eda |
- bump
|
|
Chris Weyl |
6fb5eda |
|
|
Chris Weyl |
66dc3f1 |
* Sat Nov 01 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-2
|
|
Chris Weyl |
66dc3f1 |
- tweak summary
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
* Sun Oct 26 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
|
|
Chris Weyl |
66dc3f1 |
- clean up for review submission
|
|
Chris Weyl |
66dc3f1 |
|
|
Chris Weyl |
66dc3f1 |
* Sun Oct 19 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0.1
|
|
Chris Weyl |
66dc3f1 |
- initial RPM packaging
|
|
Chris Weyl |
66dc3f1 |
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
|
|
Chris Weyl |
66dc3f1 |
|