|
|
36ff50d |
Name: perl-Syntax-Keyword-Gather
|
|
|
36ff50d |
Version: 1.003002
|
|
|
75b04cc |
Release: 3%{?dist}
|
|
|
36ff50d |
Summary: Implements the Perl 6 'gather/take' control structure in Perl 5
|
|
|
36ff50d |
License: GPL+ or Artistic
|
|
|
36ff50d |
|
|
|
36ff50d |
URL: https://metacpan.org/release/Syntax-Keyword-Gather/
|
|
|
36ff50d |
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Gather-%{version}.tar.gz
|
|
|
36ff50d |
|
|
|
36ff50d |
BuildArch: noarch
|
|
|
36ff50d |
# build deps
|
|
|
36ff50d |
BuildRequires: perl-interpreter
|
|
|
36ff50d |
BuildRequires: perl-generators
|
|
|
36ff50d |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
36ff50d |
BuildRequires: perl(strict)
|
|
|
36ff50d |
BuildRequires: perl(warnings)
|
|
|
36ff50d |
BuildRequires: perl
|
|
|
36ff50d |
# runtime deps
|
|
|
36ff50d |
BuildRequires: perl(Carp)
|
|
|
36ff50d |
BuildRequires: perl(Sub::Exporter::Progressive)
|
|
|
36ff50d |
BuildRequires: perl(overload)
|
|
|
36ff50d |
# test deps
|
|
|
36ff50d |
BuildRequires: perl(Test::More) >= 0.94
|
|
|
36ff50d |
BuildRequires: perl(Test::Pod)
|
|
|
36ff50d |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
36ff50d |
|
|
|
36ff50d |
%{?perl_default_filter}
|
|
|
36ff50d |
|
|
|
36ff50d |
%description
|
|
|
36ff50d |
Perl 6 provides a new control structure -- gather -- that allows lists to
|
|
|
36ff50d |
be constructed procedurally, without the need for a temporary variable.
|
|
|
36ff50d |
Within the block/closure controlled by a gather any call to take pushes
|
|
|
36ff50d |
that call's argument list to an implicitly created array. take returns the
|
|
|
36ff50d |
number of elements it took. This module implements that control structure.
|
|
|
36ff50d |
|
|
|
36ff50d |
%prep
|
|
|
36ff50d |
%setup -q -n Syntax-Keyword-Gather-%{version}
|
|
|
36ff50d |
|
|
|
36ff50d |
%build
|
|
|
36ff50d |
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
36ff50d |
make %{?_smp_mflags}
|
|
|
36ff50d |
|
|
|
36ff50d |
%install
|
|
|
36ff50d |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
36ff50d |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
36ff50d |
|
|
|
36ff50d |
%check
|
|
|
36ff50d |
make test
|
|
|
36ff50d |
|
|
|
36ff50d |
%files
|
|
|
36ff50d |
%doc Changes README
|
|
|
36ff50d |
%license LICENSE
|
|
|
36ff50d |
%{perl_vendorlib}/Syntax*
|
|
|
36ff50d |
%{_mandir}/man3/Syntax*
|
|
|
36ff50d |
|
|
|
36ff50d |
%changelog
|
|
|
75b04cc |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.003002-3
|
|
|
75b04cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
75b04cc |
|
|
|
f78ea46 |
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.003002-2
|
|
|
f78ea46 |
- Perl 5.28 rebuild
|
|
|
f78ea46 |
|
|
|
36ff50d |
* Tue Jun 19 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.003002-1
|
|
|
36ff50d |
- Initial specfile, based on the one autogenerated by cpanspec 1.78.
|