[perl-Text-CSV_XS] 0.87 bump

Petr Šabata psabata at fedoraproject.org
Wed Mar 14 12:26:56 UTC 2012


commit 846d565c0ef7c5e00165a7a20d50bc4d75b2f4da
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed Mar 14 13:23:07 2012 +0100

    0.87 bump

 .gitignore            |    1 +
 perl-Text-CSV_XS.spec |   34 +++++++++++++++++-----------------
 sources               |    2 +-
 3 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d74ab3f..2125463 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ Text-CSV_XS-0.72.tgz
 /Text-CSV_XS-0.83a.tgz
 /Text-CSV_XS-0.85.tgz
 /Text-CSV_XS-0.86.tgz
+/Text-CSV_XS-0.87.tgz
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 0424d95..27ce372 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -1,19 +1,22 @@
 Name:           perl-Text-CSV_XS
-Version:        0.86
+Version:        0.87
 Release:        1%{?dist}
 Summary:        Comma-separated values manipulation routines
 Group:          Development/Libraries
 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(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(IO::Handle)
 BuildRequires:  perl(Test::Harness)
 BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
 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}
 
@@ -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
 fields into a CSV string and parse a CSV string into fields.
 
-
 %prep
 %setup -q -n Text-CSV_XS-%{version}
 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."
 #find . -type f -exec sed -i '1s/pro/usr/' {} \;
 
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
-
 %install
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
-
+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} -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w %{buildroot}/*
 
 %check
 # TODO: Parallel testing supported since 0.73
 make test
 
-
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog README examples/
 %{perl_vendorarch}/Text/
 %{perl_vendorarch}/auto/Text/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
+* Wed Mar 14 2012 Petr Šabata <contyk at redhat.com> - 0.87-1
+- 0.87 bump
+- Remove command macros and defattr
+
 * Tue Jan 24 2012 Marcela Mašláňová <mmaslano at redhat.com> - 0.86-1
 - update to 0.86
 
diff --git a/sources b/sources
index 6c80c17..cbec2e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4f21293f85fea370ab121606dd0f17d9  Text-CSV_XS-0.86.tgz
+7a78f2732c6d6b60819ab2eb3d756ff8  Text-CSV_XS-0.87.tgz



More information about the perl-devel mailing list