Name: perl-multidimensional Version: 0.010 Release: 1%{?dist} Summary: Disables multidimensional array emulation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/multidimensional/ Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/multidimensional-%{version}.tar.gz # Lexical::SealRequireHints is only necessary for perl < 5.12 Patch0: no-Lexical-SealRequireHints.patch BuildRequires: perl >= 0:5.008 BuildRequires: perl(B::Hooks::OP::Check) >= 0.19 BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(lib) BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(XSLoader) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Perl's multidimensional array emulation stems from the days before the language had references, but these days it mostly serves to bite you when you typo a hash slice by using the $ sigil instead of @. This module lexically makes using multidimensional array emulation a fatal error at compile time. %prep %setup -q -n multidimensional-%{version} %patch0 -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" 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 RELEASE_TESTING=1 make test %files %doc Changes LICENSE README %{perl_vendorarch}/auto/* %{perl_vendorarch}/multidimensional* %{_mandir}/man3/* %changelog * Mon Apr 09 2012 Iain Arnell 0.010-1 - Specfile autogenerated by cpanspec 1.79. - remove Lexical::SealRequireHints dependency