epel9
Petr Šabata 11 years ago
parent 61164f5168
commit 5a63adbd06

1
.gitignore vendored

@ -32,3 +32,4 @@ Text-CSV_XS-0.72.tgz
/Text-CSV_XS-1.07.tgz /Text-CSV_XS-1.07.tgz
/Text-CSV_XS-1.08.tgz /Text-CSV_XS-1.08.tgz
/Text-CSV_XS-1.09.tgz /Text-CSV_XS-1.09.tgz
/Text-CSV_XS-1.10.tgz

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

@ -1 +1 @@
d46f3e7ed3be84b2d426003d3e08fd4a Text-CSV_XS-1.09.tgz 56ebca8686e59670754c4ecfdca16a92 Text-CSV_XS-1.10.tgz

Loading…
Cancel
Save