epel9
Petr Šabata 13 years ago
parent e04b453515
commit 846d565c0e

1
.gitignore vendored

@ -10,3 +10,4 @@ Text-CSV_XS-0.72.tgz
/Text-CSV_XS-0.83a.tgz /Text-CSV_XS-0.83a.tgz
/Text-CSV_XS-0.85.tgz /Text-CSV_XS-0.85.tgz
/Text-CSV_XS-0.86.tgz /Text-CSV_XS-0.86.tgz
/Text-CSV_XS-0.87.tgz

@ -1,19 +1,22 @@
Name: perl-Text-CSV_XS Name: perl-Text-CSV_XS
Version: 0.86 Version: 0.87
Release: 1%{?dist} Release: 1%{?dist}
Summary: Comma-separated values manipulation routines Summary: Comma-separated values manipulation routines
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic 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(Test::Pod) BuildRequires: perl(base)
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Handle)
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Tie::Scalar) BuildRequires: perl(Tie::Scalar)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter} %{?perl_default_filter}
@ -22,7 +25,6 @@ Text::CSV provides facilities for the composition and decomposition of
comma-separated values. An instance of the Text::CSV class can combine comma-separated values. An instance of the Text::CSV class can combine
fields into a CSV string and parse a CSV string into fields. fields into a CSV string and parse a CSV string into fields.
%prep %prep
%setup -q -n Text-CSV_XS-%{version} %setup -q -n Text-CSV_XS-%{version}
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
@ -33,34 +35,32 @@ chmod -c a-x examples/*
# I must admit that some have evolved into being like that." # I must admit that some have evolved into being like that."
#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="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w %{buildroot}/*
%check %check
# TODO: Parallel testing supported since 0.73 # TODO: Parallel testing supported since 0.73
make test make test
%files %files
%defattr(-,root,root,-)
%doc ChangeLog README examples/ %doc ChangeLog README examples/
%{perl_vendorarch}/Text/ %{perl_vendorarch}/Text/
%{perl_vendorarch}/auto/Text/ %{perl_vendorarch}/auto/Text/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*.3pm*
%changelog %changelog
* Wed Mar 14 2012 Petr Šabata <contyk@redhat.com> - 0.87-1
- 0.87 bump
- Remove command macros and defattr
* Tue Jan 24 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1 * Tue Jan 24 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
- update to 0.86 - update to 0.86

@ -1 +1 @@
4f21293f85fea370ab121606dd0f17d9 Text-CSV_XS-0.86.tgz 7a78f2732c6d6b60819ab2eb3d756ff8 Text-CSV_XS-0.87.tgz

Loading…
Cancel
Save