[perl-Text-CSV_XS] 0.81 bump Buildroot cleanup, ChangeLog conversion to utf8, example scripts interpreters corrected

Petr Sabata psabata at fedoraproject.org
Wed Mar 23 13:00:48 UTC 2011


commit bec6b27308918019456fb031e6313a3051e318e2
Author: Petr Sabata <psabata at redhat.com>
Date:   Wed Mar 23 14:00:08 2011 +0100

    0.81 bump
    Buildroot cleanup, ChangeLog conversion to utf8, example scripts interpreters corrected

 .gitignore            |    1 +
 perl-Text-CSV_XS.spec |   19 ++++++++++---------
 sources               |    2 +-
 3 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4b3aaa0..c8b9dd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ Text-CSV_XS-0.72.tgz
 /Text-CSV_XS-0.76.tgz
 /Text-CSV_XS-0.79.tgz
 /Text-CSV_XS-0.80.tgz
+/Text-CSV_XS-0.81.tgz
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 45c4106..d6e35b3 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -1,13 +1,11 @@
 Name:           perl-Text-CSV_XS
-Version:        0.80
-Release:        2%{?dist}
+Version:        0.81
+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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
@@ -28,7 +26,9 @@ 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
 chmod -c a-x examples/*
+find . -type f -exec sed -i '1s/pro/usr/' {} \;
 
 
 %build
@@ -37,7 +37,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 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 {} ';'
@@ -50,10 +49,6 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog README examples/
@@ -63,6 +58,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Mar 23 2011 Petr Sabata <psabata at redhat.com> - 0.81-1
+- 0.81 version bump
+- Changed script interpreters in various example files
+- Convert ChangeLog to proper UTF8
+- Removed buildroot garbage
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.80-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 13556dd..581e2f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3334f0d9764ddd427c02f29277d728d  Text-CSV_XS-0.80.tgz
+1819e3d443f1611c8d0a0fb0ab4a17c7  Text-CSV_XS-0.81.tgz


More information about the scm-commits mailing list