[hunspell-ne] Removed BR:dos2unix and instead use sed (rh# 967638)
pnemade
pnemade at fedoraproject.org
Wed May 29 09:39:40 UTC 2013
commit 7a16ee2ee01f8bbb8f2158fa68d50677544a6687
Author: Parag Nemade <pnemade at redhat.com>
Date: Wed May 29 15:09:30 2013 +0530
Removed BR:dos2unix and instead use sed (rh# 967638)
hunspell-ne.spec | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
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 <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
More information about the scm-commits
mailing list