- Update source URL
epel9
Petr Šabata 10 years ago
parent cac80d85a6
commit f2539f4e9b

1
.gitignore vendored

@ -1,3 +1,4 @@
Text-RecordParser-1.3.0.tar.gz Text-RecordParser-1.3.0.tar.gz
/Text-RecordParser-v1.5.0.tar.gz /Text-RecordParser-v1.5.0.tar.gz
/Text-RecordParser-v1.6.3.tar.gz /Text-RecordParser-v1.6.3.tar.gz
/Text-RecordParser-1.6.5.tar.gz

@ -1,41 +1,53 @@
Name: perl-Text-RecordParser Name: perl-Text-RecordParser
Version: 1.6.3 Version: 1.6.5
Release: 3%{?dist} Release: 1%{?dist}
Summary: Read record-oriented files Summary: Read record-oriented files
License: GPLv2 License: GPLv2
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-RecordParser/ 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 Source0: http://search.cpan.org/CPAN/authors/id/K/KC/KCLARK/Text-RecordParser-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) # Build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(ExtUtils::MM_Unix)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Runtime
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(Class::Accessor) BuildRequires: perl(Class::Accessor)
BuildRequires: perl(English)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(GraphViz)
BuildRequires: perl(IO::Scalar) BuildRequires: perl(IO::Scalar)
BuildRequires: perl(List::MoreUtils) BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Module::Build) BuildRequires: perl(List::Util)
BuildRequires: perl(Pod::Markdown) BuildRequires: perl(Pod::Usage)
BuildRequires: perl(Pod::Readme)
BuildRequires: perl(Pod::Select)
BuildRequires: perl(Readonly) BuildRequires: perl(Readonly)
BuildRequires: perl(strict) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Text::Autoformat)
BuildRequires: perl(Text::ParseWords) BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(Text::TabularDisplay)
BuildRequires: perl(version) BuildRequires: perl(version)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# test # Tests only
BuildRequires: perl(Config)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp) BuildRequires: perl(File::Temp)
BuildRequires: perl(FindBin) BuildRequires: perl(FindBin)
BuildRequires: perl(IO::File) BuildRequires: perl(IO::File)
BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) # Optional tests only
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod) >= 1.14
# not automagically picked up... BuildRequires: perl(Test::Pod::Coverage) >= 1.04
#Requires: perl(Class::Accessor) Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%description %description
This module is for reading record-oriented data in a delimited text file. This module is for reading record-oriented data in a delimited text file.
@ -49,19 +61,19 @@ you can still bind your own field names via bind_fields. Either way, you
can then use many methods to get at the data as arrays or hashes. can then use many methods to get at the data as arrays or hashes.
%prep %prep
%setup -q -n Text-RecordParser-v%{version} %setup -q -n Text-RecordParser-%{version}
perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t perl -pi -e 's|^#!perl|#!%{__perl}|' t/*.t
%build %build
perl Build.PL installdirs=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
./Build make %{?_smp_mflags}
%install %install
./Build install destdir=%{buildroot} create_packlist=0 make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
./Build test make test
%files %files
%doc Changes README TODO %doc Changes README TODO
@ -70,6 +82,10 @@ perl Build.PL installdirs=vendor
%{_mandir}/man[13]/* %{_mandir}/man[13]/*
%changelog %changelog
* Thu Apr 23 2015 Petr Šabata <contyk@redhat.com> - 1.6.5-1
- 1.6.5 bump
- Update source URL
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.3-3 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.3-3
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
86659b7a16726b951870f1025681adc2 Text-RecordParser-v1.6.3.tar.gz 9a1a71d37c2b89d9290e1c9207102276 Text-RecordParser-1.6.5.tar.gz

Loading…
Cancel
Save