|
|
|
@ -1,32 +1,41 @@
|
|
|
|
|
Name: perl-Text-RecordParser
|
|
|
|
|
Version: 1.5.0
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 1.6.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Read record-oriented files
|
|
|
|
|
License: GPLv2
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Text-RecordParser/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-v%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
# core
|
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# cpan
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Readonly)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Class::Accessor)
|
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
|
BuildRequires: perl(Text::TabularDisplay)
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
BuildRequires: perl(Pod::Markdown)
|
|
|
|
|
BuildRequires: perl(Pod::Readme)
|
|
|
|
|
BuildRequires: perl(Pod::Select)
|
|
|
|
|
BuildRequires: perl(Readonly)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Text::ParseWords)
|
|
|
|
|
BuildRequires: perl(version)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# test
|
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
|
|
# not automagically picked up...
|
|
|
|
|
Requires: perl(Class::Accessor)
|
|
|
|
|
#Requires: perl(Class::Accessor)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This module is for reading record-oriented data in a delimited text file.
|
|
|
|
@ -41,29 +50,29 @@ can then use many methods to get at the data as arrays or hashes.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Text-RecordParser-v%{version}
|
|
|
|
|
|
|
|
|
|
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README TODO t/
|
|
|
|
|
%doc Changes README TODO
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man[13]/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Oct 10 2013 Petr Šabata <contyk@redhat.com> - 1.6.3-1
|
|
|
|
|
- 1.6.3 bump
|
|
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|