Blame SPECS/perl-B-Hooks-EndOfScope.spec

727141
# Run extra test
727141
%if 0%{?perl_bootstrap:1} || ( 0%{?rhel} )
727141
%bcond_with perl_B_Hooks_EndOfScope_enables_extra_test
727141
%else
727141
%bcond_without perl_B_Hooks_EndOfScope_enables_extra_test
727141
%endif
727141
# Run optional test
727141
%bcond_without perl_B_Hooks_EndOfScope_enables_optional_test
727141
727141
Name:		perl-B-Hooks-EndOfScope
727141
Version:	0.21
727141
Release:	6%{?dist}
727141
License:	GPL+ or Artistic
727141
Group:		Development/Libraries
727141
Summary:	Execute code after scope compilation finishes
727141
URL:		http://search.cpan.org/dist/B-Hooks-EndOfScope/
727141
Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-%{version}.tar.gz
727141
Patch0:		B-Hooks-EndOfScope-0.13-shellbangs.patch
727141
BuildArch:	noarch
727141
# Build
727141
BuildRequires:	coreutils
727141
BuildRequires:	findutils
727141
BuildRequires:	make
727141
BuildRequires:	perl-interpreter
727141
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
727141
BuildRequires:	perl-generators
727141
%endif
727141
BuildRequires:	perl(base)
727141
BuildRequires:	perl(ExtUtils::MakeMaker)
727141
BuildRequires:	perl(lib)
727141
BuildRequires:	perl(Text::ParseWords)
727141
# Common Module Requirements
727141
BuildRequires:	perl(Module::Implementation) >= 0.05
727141
BuildRequires:	perl(Sub::Exporter::Progressive) >= 0.001006
727141
BuildRequires:	perl(strict)
727141
BuildRequires:	perl(warnings)
727141
# PP Implementation Only
727141
BuildRequires:	perl(Carp)
727141
BuildRequires:	perl(constant)
727141
BuildRequires:	perl(Hash::Util::FieldHash)
727141
BuildRequires:	perl(Scalar::Util)
727141
BuildRequires:	perl(Tie::Hash)
727141
BuildRequires:	perl(Tie::StdHash)
727141
# XS Implementation Only
727141
BuildRequires:	perl(Variable::Magic) >= 0.48
727141
# Test suite
727141
BuildRequires:	perl(Config)
727141
BuildRequires:	perl(Devel::Hide) >= 0.0007
727141
BuildRequires:	perl(File::Glob)
727141
BuildRequires:	perl(File::Spec)
727141
BuildRequires:	perl(IPC::Open2)
727141
BuildRequires:	perl(Module::Metadata)
727141
BuildRequires:	perl(Test::More) >= 0.89
727141
%if %{with perl_B_Hooks_EndOfScope_enables_optional_test}
727141
# Optional Tests
727141
BuildRequires:	perl(CPAN::Meta) >= 2.120900
727141
BuildRequires:	perl(CPAN::Meta::Prereqs)
727141
%endif
727141
# Author/Release tests
727141
# Note: Test::Pod::No404s intentionally omitted as it would fail due to
727141
# missing connectivity in the koji build environment
727141
%if %{with perl_B_Hooks_EndOfScope_enables_extra_test}
727141
BuildRequires:	perl(blib)
727141
BuildRequires:	perl(IO::Handle)
727141
BuildRequires:	perl(IPC::Open3)
727141
BuildRequires:	perl(Pod::Coverage::TrustPod)
727141
BuildRequires:	perl(Pod::Wordlist)
727141
BuildRequires:	perl(Test::CPAN::Changes)
727141
BuildRequires:	perl(Test::CPAN::Meta)
727141
BuildRequires:	perl(Test::EOL)
727141
BuildRequires:	perl(Test::Kwalitee) >= 1.21
727141
BuildRequires:	perl(Test::MinimumVersion)
727141
BuildRequires:	perl(Test::Mojibake)
727141
BuildRequires:	perl(Test::More) >= 0.96
727141
BuildRequires:	perl(Test::NoTabs)
727141
BuildRequires:	perl(Test::Pod) >= 1.41
727141
BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
727141
BuildRequires:	perl(Test::Portability::Files)
727141
BuildRequires:	perl(Test::Spelling), hunspell-en
727141
%endif
727141
# Runtime
727141
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
727141
727141
%description
727141
This module allows you to execute code when Perl has finished compiling the
727141
surrounding scope.
727141
727141
%prep
727141
%setup -q -n B-Hooks-EndOfScope-%{version}
727141
727141
# Remove shellbangs from tests to placate rpmlint
727141
%patch0
727141
727141
# British-English spelling LICENCE upsets US spell checker
727141
echo LICENCE >> xt/author/pod-spell.t
727141
727141
%build
727141
perl Makefile.PL INSTALLDIRS=vendor
727141
make %{?_smp_mflags}
727141
727141
%install
727141
make pure_install DESTDIR=%{buildroot}
727141
find %{buildroot} -type f -name .packlist -delete
727141
%{_fixperms} %{buildroot}
727141
727141
%check
727141
%if %{with perl_B_Hooks_EndOfScope_enables_extra_test}
727141
export AUTHOR_TESTING=1
727141
%endif
727141
make test
727141
%if %{with perl_B_Hooks_EndOfScope_enables_extra_test}
727141
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
727141
%endif
727141
727141
%files
727141
%license LICENCE
727141
%doc Changes CONTRIBUTING README t/
727141
%{perl_vendorlib}/B/
727141
%{_mandir}/man3/B::Hooks::EndOfScope.3*
727141
%{_mandir}/man3/B::Hooks::EndOfScope::PP.3*
727141
%{_mandir}/man3/B::Hooks::EndOfScope::XS.3*
727141
727141
%changelog
727141
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-6
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
727141
727141
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-5
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
727141
727141
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-4
727141
- Perl 5.26 re-rebuild of bootstrapped packages
727141
727141
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-3
727141
- Perl 5.26 rebuild
727141
727141
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.21-2
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
727141
727141
* Thu May 26 2016 Paul Howarth <paul@city-fan.org> - 0.21-1
727141
- Update to 0.21
727141
  - Work with Object::Remote by removing require() call on Tie::StdHash in PP
727141
727141
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-3
727141
- Perl 5.24 re-rebuild of bootstrapped packages
727141
727141
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.20-2
727141
- Perl 5.24 rebuild
727141
727141
* Sat May  7 2016 Paul Howarth <paul@city-fan.org> - 0.20-1
727141
- Update to 0.20
727141
  - Remove unnecessary and erroneous extra crud in inc/
727141
727141
* Tue May  3 2016 Paul Howarth <paul@city-fan.org> - 0.19-1
727141
- Update to 0.19
727141
  - More Makefile.PL updates
727141
  - Makefile.PL now checks for a working compiler using ExtUtils::HasCompiler
727141
    (inlined into the build) rather than ExtUtils::CBuilder (CPAN RT#113685)
727141
- Simplify find command using -delete
727141
- Fix EPEL conditional - only currently buildable for EPEL 7 onwards
727141
- Drop BR: for Test::Pod::No404s, which breaks koji builds
727141
727141
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-5
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
727141
727141
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-4
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
727141
727141
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-3
727141
- Perl 5.22 re-rebuild of bootstrapped packages
727141
727141
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.15-2
727141
- Perl 5.22 rebuild
727141
727141
* Fri May 15 2015 Paul Howarth <paul@city-fan.org> - 0.15-1
727141
- Update to 0.15
727141
  - Updated the tooling for generating Makefile.PL
727141
  - Removed Tie::StdHash from prereqs, which is not require()able as a module
727141
    on its own, despite being indexed (GH #3)
727141
  - Fixed the addition in release 0.14 of Hash::Util::FieldHash as a
727141
    prerequisite (which is not available prior to perl 5.010) for pure-perl
727141
    installations (CPAN RT#104435)
727141
727141
* Sun Feb  1 2015 Paul Howarth <paul@city-fan.org> - 0.14-1
727141
- Update to 0.14
727141
  - Line numbers in shipped code are now the same as the repository source, for
727141
    easier debugging
727141
  - More accurate dynamic prereq declarations
727141
- Use %%license
727141
727141
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-5
727141
- Perl 5.20 re-rebuild of bootstrapped packages
727141
727141
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-4
727141
- Perl 5.20 rebuild
727141
727141
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
727141
727141
* Wed Jan 15 2014 Paul Howarth <paul@city-fan.org> - 0.13-2
727141
- Bootstrap EPEL-7 build
727141
727141
* Wed Jan  8 2014 Paul Howarth <paul@city-fan.org> - 0.13-1
727141
- Update to 0.13
727141
  - Variable::Magic added as a runtime recommendation for greater visibility
727141
    (CPAN RT#89245)
727141
  - Fixed broken logic in compiler detection on older perls
727141
  - Fixed inaccurate repository metadata
727141
- This release by ETHER -> update source URL
727141
- Drop Pod Coverage patch, no longer needed
727141
- Update shellbang patch
727141
- Don't run the release tests when bootstrapping
727141
727141
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-4
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
727141
727141
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.12-3
727141
- Perl 5.18 rebuild
727141
727141
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-2
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
727141
727141
* Wed Dec  5 2012 Paul Howarth <paul@city-fan.org> - 0.12-1
727141
- Update to 0.12
727141
  - Complete pure-perl implementation in addition to the one based on
727141
    Variable::Magic; you can specify the implementation explicitly by use-ing
727141
    B::Hooks::EndOfScope::PP or B::Hooks::EndOfScope::XS, or by setting
727141
    $ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION} to either 'XS' or 'PP'
727141
  - Switch from using Sub::Exporter to the more conservative
727141
    Sub::Exporter::Progressive
727141
- Add patch to fix POD coverage issues in new pure-perl implementation
727141
- This release by BOBTFISH -> update source URL
727141
- BR: perl(ExtUtils::CBuilder) ≥ 0.26, perl(Devel::Hide) ≥ 0.0007,
727141
  perl(Module::Implementation) ≥ 0.05 and perl(Module::Runtime) ≥ 0.012
727141
- BR: perl(Sub::Exporter::Progressive) rather than perl(Sub::Exporter)
727141
- BR: perl(base), perl(constant), perl(Hash::Util::FieldHash) and
727141
  perl(Scalar::Util) for the pure-perl implementation
727141
727141
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
727141
727141
* Fri Jun 15 2012 Petr Pisar <ppisar@redhat.com> - 0.11-2
727141
- Perl 5.16 rebuild
727141
727141
* Thu Feb 23 2012 Paul Howarth <paul@city-fan.org> - 0.11-1
727141
- Update to 0.11 (a minor efficiency improvement)
727141
- Bump perl(Variable::Magic) version requirement to 0.48
727141
727141
* Thu Feb 16 2012 Paul Howarth <paul@city-fan.org> - 0.10-1
727141
- Update to 0.10 (stop propagating our magic through localisation)
727141
- Package LICENSE file
727141
- Downgrade ExtUtils::MakeMaker version requirement to 6.30
727141
- Upgrade Test::More version requirement to 0.89
727141
- Drop Test::Pod version requirement for EPEL-6 spec compatibility
727141
- BR: perl(Test::EOL) and perl(Test::NoTabs) for additional test coverage
727141
- Clean up for modern rpmbuild since we have no branches prior to EPEL-6
727141
  - Don't specify BuildRoot:
727141
  - Skip cleaning of buildroot in %%install
727141
  - Remove %%clean section
727141
  - Drop redundant %%defattr
727141
- Remove shellbangs from tests to placate rpmlint
727141
727141
* Tue Jan 17 2012 Paul Howarth <paul@city-fan.org> - 0.09-1
727141
- Update to 0.09 (improve distribution metadata)
727141
- Run release tests too
727141
- BR: perl(Pod::Coverage::TrustPod), perl(Test::Pod) and
727141
  perl(Test::Pod::Coverage) for release tests
727141
- Spec clean-up:
727141
  - Make %%files list more explicit
727141
  - Use DESTDIR rather than PERL_INSTALL_ROOT
727141
  - Use tabs
727141
  - Split buildreqs by Build/Module/Tests/Release tests
727141
727141
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-8
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
727141
727141
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.08-7
727141
- Perl mass rebuild
727141
727141
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-6
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
727141
727141
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-5
727141
- Rebuild to fix problems with vendorarch/lib (#661697)
727141
727141
* Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-4
727141
- Mass rebuild with perl-5.12.0
727141
727141
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.08-3
727141
- rebuild against perl 5.10.1
727141
727141
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-2
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
727141
727141
* Sun May 17 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1
727141
- auto-update to 0.08 (by cpan-spec-update 0.01)
727141
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
727141
- altered br on perl(Variable::Magic) (0.31 => 0.34)
727141
727141
* Sun Mar 08 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1
727141
- update to 0.07
727141
727141
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
727141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
727141
727141
* Sat Nov 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
727141
- update for submission
727141
727141
* Sat Nov 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.04-0.1
727141
- initial RPM packaging
727141
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)