File perl-B-Hooks-Parser.spec of Package perl-B-Hooks-Parser
Name: perl-B-Hooks-Parser
Version: 0.16
Release: 2%{?dist}
Summary: Interface to perl's parser variables
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/B-Hooks-Parser/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/B-Hooks-Parser-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: perl(B::Hooks::EndOfScope)
BuildRequires: perl(B::Hooks::OP::Check)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::Depends) >= 0.302
BuildRequires: perl(File::Spec)
BuildRequires: perl(parent)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: findutils
BuildRequires: make
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module provides an API for parts of the perl parser. It can be used to
modify code while it's being parsed.
%prep
%setup -q -n B-Hooks-Parser-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes CONTRIBUTING README
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%{perl_vendorarch}/auto/B
%{perl_vendorarch}/B
%{_mandir}/man3/B::Hooks::Parser.3pm*
%changelog
* Wed Sep 16 2015 Bill Pemberton <wfp5p@worldbroken.com> - 0.16-2
- Update BuildRequires to add DynaLoader, strict, and warnings
- Add version requirement for perl(ExtUtils::Depends)
- remove perl(parent) from requires
- update files section to pick up B dirs
* Wed Sep 16 2015 Bill Pemberton <wfp5p@worldbroken.com> - 0.16-1
- Initial version