|
|
38a976e |
Name: perl-B-Hooks-EndOfScope
|
|
|
6ca03da |
Version: 0.12
|
|
|
e750d1e |
Release: 4%{?dist}
|
|
|
38a976e |
License: GPL+ or Artistic
|
|
|
38a976e |
Group: Development/Libraries
|
|
|
38a976e |
Summary: Execute code after scope compilation finishes
|
|
|
6ca03da |
URL: http://search.cpan.org/dist/B-Hooks-EndOfScope/
|
|
|
6ca03da |
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/B-Hooks-EndOfScope-%{version}.tar.gz
|
|
|
6ca03da |
Patch0: B-Hooks-EndOfScope-0.12-podcoverage.patch
|
|
|
6ca03da |
Patch2: B-Hooks-EndOfScope-0.10-shellbangs.patch
|
|
|
38a976e |
BuildArch: noarch
|
|
|
38a976e |
# Build
|
|
|
6ca03da |
BuildRequires: perl(ExtUtils::CBuilder)
|
|
|
6ca03da |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
38a976e |
# Module
|
|
|
6ca03da |
# note: Variable::Magic only needed (version ≥ 0.48) by XS version
|
|
|
6ca03da |
# base, constant, Hash::Util::FieldHash and Scalar::Util only needed by PP version
|
|
|
6ca03da |
BuildRequires: perl(base)
|
|
|
6ca03da |
BuildRequires: perl(constant)
|
|
|
6ca03da |
BuildRequires: perl(Hash::Util::FieldHash)
|
|
|
6ca03da |
BuildRequires: perl(Module::Implementation) >= 0.05
|
|
|
6ca03da |
BuildRequires: perl(Module::Runtime) >= 0.012
|
|
|
6ca03da |
BuildRequires: perl(Scalar::Util)
|
|
|
6ca03da |
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
36afc53 |
BuildRequires: perl(Variable::Magic) >= 0.48
|
|
|
38a976e |
# Test suite
|
|
|
6ca03da |
BuildRequires: perl(Devel::Hide) >= 0.0007
|
|
|
054a1f8 |
BuildRequires: perl(Test::More) >= 0.89
|
|
|
38a976e |
# Release tests
|
|
|
38a976e |
BuildRequires: perl(Pod::Coverage::TrustPod)
|
|
|
054a1f8 |
BuildRequires: perl(Test::EOL)
|
|
|
054a1f8 |
BuildRequires: perl(Test::NoTabs)
|
|
|
6ca03da |
BuildRequires: perl(Test::Pod) >= 1.41
|
|
|
38a976e |
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
38a976e |
# Runtime
|
|
|
38a976e |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
6ca03da |
Requires: perl(Module::Implementation) >= 0.05
|
|
|
6ca03da |
Requires: perl(Module::Runtime) >= 0.012
|
|
|
6ca03da |
Requires: perl(Variable::Magic) >= 0.48
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%description
|
|
Chris Weyl |
f0c3bd2 |
This module allows you to execute code when Perl has finished compiling the
|
|
Chris Weyl |
f0c3bd2 |
surrounding scope.
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%prep
|
|
Chris Weyl |
f0c3bd2 |
%setup -q -n B-Hooks-EndOfScope-%{version}
|
|
Chris Weyl |
f0c3bd2 |
|
|
|
6ca03da |
# Fix POD coverage
|
|
|
6ca03da |
%patch0
|
|
|
6ca03da |
|
|
|
054a1f8 |
# Remove shellbangs from tests to placate rpmlint
|
|
|
6ca03da |
%patch2 -p1
|
|
|
054a1f8 |
|
|
Chris Weyl |
f0c3bd2 |
%build
|
|
|
38a976e |
perl Makefile.PL INSTALLDIRS=vendor
|
|
Chris Weyl |
f0c3bd2 |
make %{?_smp_mflags}
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%install
|
|
|
38a976e |
make pure_install DESTDIR=%{buildroot}
|
|
Chris Weyl |
f0c3bd2 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
38a976e |
%{_fixperms} %{buildroot}
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%check
|
|
|
38a976e |
make test RELEASE_TESTING=1
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%files
|
|
|
054a1f8 |
%doc Changes LICENSE README t/
|
|
|
38a976e |
%{perl_vendorlib}/B/
|
|
|
38a976e |
%{_mandir}/man3/B::Hooks::EndOfScope.3pm*
|
|
|
6ca03da |
%{_mandir}/man3/B::Hooks::EndOfScope::PP.3pm*
|
|
|
6ca03da |
%{_mandir}/man3/B::Hooks::EndOfScope::PP::FieldHash.3pm*
|
|
|
6ca03da |
%{_mandir}/man3/B::Hooks::EndOfScope::PP::HintHash.3pm*
|
|
|
6ca03da |
%{_mandir}/man3/B::Hooks::EndOfScope::XS.3pm*
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
%changelog
|
|
|
e750d1e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-4
|
|
|
e750d1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e750d1e |
|
|
|
319658d |
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.12-3
|
|
|
319658d |
- Perl 5.18 rebuild
|
|
|
319658d |
|
|
|
5cd8d12 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
|
|
|
5cd8d12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5cd8d12 |
|
|
|
6ca03da |
* Wed Dec 5 2012 Paul Howarth <paul@city-fan.org> - 0.12-1
|
|
|
6ca03da |
- Update to 0.12
|
|
|
6ca03da |
- Complete pure-perl implementation in addition to the one based on
|
|
|
6ca03da |
Variable::Magic; you can specify the implementation explicitly by use-ing
|
|
|
6ca03da |
B::Hooks::EndOfScope::PP or B::Hooks::EndOfScope::XS, or by setting
|
|
|
6ca03da |
$ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION} to either 'XS' or 'PP'
|
|
|
6ca03da |
- Switch from using Sub::Exporter to the more conservative
|
|
|
6ca03da |
Sub::Exporter::Progressive
|
|
|
6ca03da |
- Add patch to fix POD coverage issues in new pure-perl implementation
|
|
|
6ca03da |
- This release by BOBTFISH -> update source URL
|
|
|
6ca03da |
- BR: perl(ExtUtils::CBuilder) ≥ 0.26, perl(Devel::Hide) ≥ 0.0007,
|
|
|
6ca03da |
perl(Module::Implementation) ≥ 0.05 and perl(Module::Runtime) ≥ 0.012
|
|
|
6ca03da |
- BR: perl(Sub::Exporter::Progressive) rather than perl(Sub::Exporter)
|
|
|
6ca03da |
- BR: perl(base), perl(constant), perl(Hash::Util::FieldHash) and
|
|
|
6ca03da |
perl(Scalar::Util) for the pure-perl implementation
|
|
|
6ca03da |
|
|
|
300f77b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
300f77b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
300f77b |
|
|
|
507271d |
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.11-2
|
|
|
507271d |
- Perl 5.16 rebuild
|
|
|
507271d |
|
|
|
36afc53 |
* Thu Feb 23 2012 Paul Howarth <paul@city-fan.org> - 0.11-1
|
|
|
36afc53 |
- Update to 0.11 (a minor efficiency improvement)
|
|
|
36afc53 |
- Bump perl(Variable::Magic) version requirement to 0.48
|
|
|
36afc53 |
|
|
|
054a1f8 |
* Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.10-1
|
|
|
054a1f8 |
- Update to 0.10 (stop propagating our magic through localisation)
|
|
|
054a1f8 |
- Package LICENSE file
|
|
|
054a1f8 |
- Downgrade ExtUtils::MakeMaker version requirement to 6.30
|
|
|
054a1f8 |
- Upgrade Test::More version requirement to 0.89
|
|
|
054a1f8 |
- Drop Test::Pod version requirement for EPEL-6 spec compatibility
|
|
|
054a1f8 |
- BR: perl(Test::EOL) and perl(Test::NoTabs) for additional test coverage
|
|
|
054a1f8 |
- Clean up for modern rpmbuild since we have no branches prior to EPEL-6
|
|
|
054a1f8 |
- Don't specify BuildRoot:
|
|
|
054a1f8 |
- Skip cleaning of buildroot in %%install
|
|
|
054a1f8 |
- Remove %%clean section
|
|
|
054a1f8 |
- Drop redundant %%defattr
|
|
|
054a1f8 |
- Remove shellbangs from tests to placate rpmlint
|
|
|
054a1f8 |
|
|
|
38a976e |
* Tue Jan 17 2012 Paul Howarth <paul@city-fan.org> - 0.09-1
|
|
|
38a976e |
- Update to 0.09 (improve distribution metadata)
|
|
|
38a976e |
- Run release tests too
|
|
|
38a976e |
- BR: perl(Pod::Coverage::TrustPod), perl(Test::Pod) and
|
|
|
38a976e |
perl(Test::Pod::Coverage) for release tests
|
|
|
38a976e |
- Spec clean-up:
|
|
|
38a976e |
- Make %%files list more explicit
|
|
|
38a976e |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
38a976e |
- Use tabs
|
|
|
38a976e |
- Split buildreqs by Build/Module/Tests/Release tests
|
|
|
38a976e |
|
|
|
be8af1c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-8
|
|
|
be8af1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
be8af1c |
|
|
Petr Sabata |
757f21b |
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.08-7
|
|
Petr Sabata |
757f21b |
- Perl mass rebuild
|
|
Petr Sabata |
757f21b |
|
|
|
54b492b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
|
|
|
54b492b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
54b492b |
|
|
Marcela Mašláňová |
a6cde41 |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-5
|
|
|
38a976e |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
Marcela Mašláňová |
a6cde41 |
|
|
|
2564358 |
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-4
|
|
|
2564358 |
- Mass rebuild with perl-5.12.0
|
|
|
2564358 |
|
|
|
2f2f236 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.08-3
|
|
|
2f2f236 |
- rebuild against perl 5.10.1
|
|
|
2f2f236 |
|
|
|
bd8b95c |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
|
|
|
bd8b95c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
bd8b95c |
|
|
Chris Weyl |
ed8ff0a |
* Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1
|
|
Chris Weyl |
ed8ff0a |
- auto-update to 0.08 (by cpan-spec-update 0.01)
|
|
Chris Weyl |
ed8ff0a |
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
|
|
Chris Weyl |
ed8ff0a |
- altered br on perl(Variable::Magic) (0.31 => 0.34)
|
|
Chris Weyl |
ed8ff0a |
|
|
Chris Weyl |
d1a84ab |
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1
|
|
Chris Weyl |
d1a84ab |
- update to 0.07
|
|
Chris Weyl |
d1a84ab |
|
|
|
9c62cbe |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
|
|
|
9c62cbe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
9c62cbe |
|
|
Chris Weyl |
f0c3bd2 |
* Sat Nov 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
|
|
Chris Weyl |
f0c3bd2 |
- update for submission
|
|
Chris Weyl |
f0c3bd2 |
|
|
Chris Weyl |
f0c3bd2 |
* Sat Nov 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.04-0.1
|
|
Chris Weyl |
f0c3bd2 |
- initial RPM packaging
|
|
Chris Weyl |
f0c3bd2 |
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)
|