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

This commit is contained in:
Parag Nemade 2013-05-29 15:09:30 +05:30
parent a74abc3c05
commit 7a16ee2ee0

View File

@ -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 <pnemade AT redhat DOT com> - 20080425-8
- Removed BR:dos2unix and instead use sed (rh# 967638)
* Tue May 28 2013 Parag <pnemade AT redhat DOT com> - 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