Name: perl-Syntax-Keyword-Gather Version: 1.002001 Release: 1%{?dist} Summary: VERSION License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Syntax-Keyword-Gather/ Source0: http://www.cpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Gather-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Sub::Exporter::Progressive) BuildRequires: perl(Test::More) >= 0.94 Requires: perl(Sub::Exporter::Progressive) Requires: perl(Test::More) >= 0.94 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Perl 6 provides a new control structure -- gather -- that allows lists to be constructed procedurally, without the need for a temporary variable. Within the block/closure controlled by a gather any call to take pushes that call's argument list to an implicitly created array. take returns the number of elements it took. This module implements that control structure. %prep %setup -q -n Syntax-Keyword-Gather-%{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 dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jan 19 2013 Dave Cross 1.002001-1 - Specfile autogenerated by cpanspec 1.78.