|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-Text-CSV_XS
|
|
|
|
|
Version: 1.09
|
|
|
|
|
Version: 1.10
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Comma-separated values manipulation routines
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -7,26 +7,27 @@ License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Text-CSV_XS/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(charnames)
|
|
|
|
|
# Specific version >= 2.51 for Encode is recommended but not required
|
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Tie::Scalar)
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
# IO::Handle is loaded by XS code
|
|
|
|
|
Requires: perl(IO::Handle)
|
|
|
|
|
|
|
|
|
@ -48,17 +49,15 @@ chmod -c a-x examples/*
|
|
|
|
|
#find . -type f -exec sed -i '1s/pro/usr/' {} \;
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=true
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} +
|
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# Parallel testing supported since 0.73
|
|
|
|
|
make test %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -68,6 +67,9 @@ make test %{?_smp_mflags}
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 09 2014 Petr Šabata <contyk@redhat.com> - 1.10-1
|
|
|
|
|
- 1.10 bump
|
|
|
|
|
|
|
|
|
|
* Thu Jun 12 2014 Petr Šabata <contyk@redhat.com> - 1.09-1
|
|
|
|
|
- 1.09 bugfix bump
|
|
|
|
|
|
|
|
|
|