From 7a16ee2ee01f8bbb8f2158fa68d50677544a6687 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: May 29 2013 09:39:30 +0000 Subject: Removed BR:dos2unix and instead use sed (rh# 967638) --- diff --git a/hunspell-ne.spec b/hunspell-ne.spec index e018f48..acc7147 100644 --- a/hunspell-ne.spec +++ b/hunspell-ne.spec @@ -1,13 +1,12 @@ Name: hunspell-ne Summary: Nepali hunspell dictionaries Version: 20080425 -Release: 7%{?dist} +Release: 8%{?dist} Source: http://nepalinux.org/downloads/ne_NP_dict.zip Group: Applications/Text URL: http://nepalinux.org/downloads License: LGPLv2 BuildArch: noarch -BuildRequires: dos2unix Requires: hunspell @@ -16,10 +15,12 @@ Nepali hunspell dictionaries. %prep %setup -q -c -n ne_NP_dict -dos2unix ne_NP.dic sed -i 's|चलन/चल्ती/15,22|चलनचल्ती/15,22|g' ne_NP.dic sed -i 's|निजामती/I15,22|निजामती/15,22|g' ne_NP.dic +# Remove ^M and trailing whitespace characters +sed -i 's/\r//;s/[ \t]*$//' ne_NP.dic + %build %install @@ -39,6 +40,9 @@ popd %{_datadir}/myspell/* %changelog +* Wed May 29 2013 Parag - 20080425-8 +- Removed BR:dos2unix and instead use sed (rh# 967638) + * Tue May 28 2013 Parag - 20080425-7 - Resolves:rh#959987: Error message: “0 is wrong flag id” occurs when using hunspell-ne - Resolves:rh#967638: ne_NP.dic contains both CRLF and LF line terminators