Name: perl-lexical-underscore Version: 0.003 Release: 1%{?dist} Summary: Access your caller's lexical underscore License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/lexical-underscore/ Source0: file:///home/dave/mirrors/minicpan//authors/id/T/TO/TOBYINK/lexical-underscore-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008000 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) >= 0.61 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Starting with Perl 5.10, it is possible to create a lexical version of the Perl default variable $_. Certain Perl constructs like the given keyword automatically use a lexical $_ rather than the global $_. %prep %setup -q -n lexical-underscore-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes CONTRIBUTING COPYRIGHT CREDITS dist.ini doap.ttl LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Jul 28 2015 Dave Cross 0.003-1 - Specfile autogenerated by cpanspec 1.78.