Name: perl-Data-Record Version: 0.02 Release: 1%{?dist} Summary: "split" on steroids License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Record/ Source0: http://www.cpan.org/modules/by-module/Data/Data-Record-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Module::Build) BuildRequires: perl(strict) BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Test::More) >= 0.6 BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(warnings) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Sometimes we need data split into records and a simple split on the input record separator ($/) or some other value fails because the values we're splitting on may allowed in other parts of the data. Perhaps they're quoted. Perhaps they're embedded in other data which should not be split up. %prep %setup -q -n Data-Record-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jul 21 2014 David Dick - 0.02-1 - Initial release