From 502dd5f9322d2f864c36f0f800282afb7cf4ec7b Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: May 29 2013 09:25:41 +0000 Subject: Removed BR:dos2unix and instead use sed (rh# 967639) --- diff --git a/hunspell-mr.spec b/hunspell-mr.spec index 23a142c..86983a7 100644 --- a/hunspell-mr.spec +++ b/hunspell-mr.spec @@ -1,14 +1,13 @@ Name: hunspell-mr Summary: Marathi hunspell dictionaries Version: 20060920 -Release: 13%{?dist} +Release: 14%{?dist} Source: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/mr_IN.zip Patch0: hunspell-mr-get-rid-of-broken-line.patch Group: Applications/Text URL: http://wiki.services.openoffice.org/wiki/Dictionaries License: LGPLv2+ BuildArch: noarch -BuildRequires: dos2unix Requires: hunspell @@ -19,8 +18,8 @@ Marathi hunspell dictionaries. %setup -q -c -n mr-IN %patch0 -p1 -# Remove ^M character -dos2unix mr_IN.dic +# Remove ^M and trailing whitespace characters +sed -i 's/\r//;s/[ \t]*$//' mr_IN.dic %build #nothing to do here @@ -34,6 +33,9 @@ cp -p mr_IN.dic mr_IN.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell/* %changelog +* Tue May 28 2013 Parag Nemade - 20060920-14 +- Removed BR:dos2unix and instead use sed (rh# 967639) + * Tue May 28 2013 Parag Nemade - 20060920-13 - Resolves:rh# 967639: mr_IN.dic contains both CRLF and LF line terminators