|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Text-CSV_XS
|
|
|
|
|
Version: 0.81
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Comma-separated values manipulation routines
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -28,7 +28,11 @@ fields into a CSV string and parse a CSV string into fields.
|
|
|
|
|
%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/' {} \;
|
|
|
|
|
# Upstream does this on purpose (2011-03-23):
|
|
|
|
|
# "As Text::CSV_XS is so low-level, most of these files are actually *examples*
|
|
|
|
|
# and not ready-to-run out-of-the-box scripts that work as expected, though
|
|
|
|
|
# I must admit that some have evolved into being like that."
|
|
|
|
|
#find . -type f -exec sed -i '1s/pro/usr/' {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -58,6 +62,9 @@ make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-2
|
|
|
|
|
- Revert example scripts interpreter changes
|
|
|
|
|
|
|
|
|
|
* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-1
|
|
|
|
|
- 0.81 version bump
|
|
|
|
|
- Changed script interpreters in various example files
|
|
|
|
|