Removed BR:dos2unix and instead use sed (rh# 967639)

This commit is contained in:
Parag Nemade 2013-05-29 14:55:41 +05:30
parent a0fdf28138
commit 502dd5f932

View File

@ -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 <pnemade AT redhat DOT com> - 20060920-14
- Removed BR:dos2unix and instead use sed (rh# 967639)
* Tue May 28 2013 Parag Nemade <pnemade AT redhat DOT com> - 20060920-13
- Resolves:rh# 967639: mr_IN.dic contains both CRLF and LF line terminators