|
|
|
Name: perl-Syntax-Keyword-Junction
|
|
|
|
Version: 0.003006
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Perl6 style Junction operators in Perl5
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Syntax-Keyword-Junction/
|
|
|
|
Source0: http://www.cpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Junction-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.07
|
|
|
|
BuildRequires: perl(syntax)
|
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(Sub::Exporter) >= 0.986
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(overload)
|
|
|
|
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Sub::Exporter::Progressive\\)$
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a lightweight module which provides 'Junction' operators, the most
|
|
|
|
commonly used being any and all. Inspired by the Perl6 design docs,
|
|
|
|
<http://dev.perl.org/perl6/doc/design/exe/E06.html>.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Syntax-Keyword-Junction-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Aug 08 2013 Petr Pisar <ppisar@redhat.com> - 0.003006-1
|
|
|
|
- 0.003006 bump
|
|
|
|
|
|
|
|
* Mon Aug 05 2013 Petr Pisar <ppisar@redhat.com> 0.003004-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|