38a976e
Name:		perl-B-Hooks-EndOfScope
36afc53
Version:	0.11
38a976e
Release:	1%{?dist}
38a976e
License:	GPL+ or Artistic
38a976e
Group:		Development/Libraries
38a976e
Summary:	Execute code after scope compilation finishes
38a976e
Url:		http://search.cpan.org/dist/B-Hooks-EndOfScope
054a1f8
Source0:	http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Hooks-EndOfScope-%{version}.tar.gz
054a1f8
Patch0:		B-Hooks-EndOfScope-0.10-shellbangs.patch
38a976e
BuildArch:	noarch
38a976e
# Build
054a1f8
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
38a976e
# Module
38a976e
BuildRequires:	perl(Sub::Exporter)
36afc53
BuildRequires:	perl(Variable::Magic) >= 0.48
38a976e
# Test suite
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)
054a1f8
BuildRequires:	perl(Test::Pod)
38a976e
BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
38a976e
# Runtime
38a976e
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
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
054a1f8
# Remove shellbangs from tests to placate rpmlint
054a1f8
%patch0 -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*
Chris Weyl f0c3bd2
Chris Weyl f0c3bd2
%changelog
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)