Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 891d36221b27d0d5f9323cd62f93ca33 > files > 2

perl-Devel-BeginLift-0.001003-1.fc16.src.rpm

Name:           perl-Devel-BeginLift
Version:        0.001003
Release:        1%{?dist}
Summary:        Make selected sub calls evaluate at compile time
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Devel-BeginLift/
Source0:        http://www.cpan.org/authors/id/F/FL/FLORA/Devel-BeginLift-%{version}.tar.gz
BuildRequires:  perl(B::Hooks::OP::Check::EntersubForCV) >= 0.03
BuildRequires:  perl(ExtUtils::Depends)
BuildRequires:  perl(inc::Module::Install)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(vars)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
Devel::BeginLift 'lifts' arbitrary sub calls to running at compile time -
sort of a souped up version of "use constant". It does this via some
slightly insane perlguts magic.

%prep
%setup -q -n Devel-BeginLift-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" --skipdeps
make %{?_smp_mflags}

%install
make pure_install DESTDIR=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;

%{_fixperms} %{buildroot}/*

%check
make test

%files
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Devel*
%{_mandir}/man3/*

%changelog
* Sun Jun 10 2012 Iain Arnell <iarnell@gmail.com> 0.001003-1
- Specfile autogenerated by cpanspec 1.79.