From 9cd247aad9aa162848ecfea0c0916201e168cde8 Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Wed, 23 Mar 2011 14:20:23 +0100 Subject: [PATCH] Revert example scripts interpreter changes --- perl-Text-CSV_XS.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec index d6e35b3..ae4f787 100644 --- a/perl-Text-CSV_XS.spec +++ b/perl-Text-CSV_XS.spec @@ -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 - 0.81-2 +- Revert example scripts interpreter changes + * Wed Mar 23 2011 Petr Sabata - 0.81-1 - 0.81 version bump - Changed script interpreters in various example files