rpms/hunspell-ko/devel hunspell-dict-ko-0.4.2-1278333282.fixtests.patch, NONE, 1.1 hunspell-ko.spec, 1.14, 1.15

Caolan McNamara caolanm at fedoraproject.org
Mon Jul 5 12:36:29 UTC 2010


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-ko/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9805

Modified Files:
	hunspell-ko.spec 
Added Files:
	hunspell-dict-ko-0.4.2-1278333282.fixtests.patch 
Log Message:
fix tests

hunspell-dict-ko-0.4.2-1278333282.fixtests.patch:
 runtest.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE hunspell-dict-ko-0.4.2-1278333282.fixtests.patch ---
--- tests/runtest.py	2010-07-05 12:55:25.000000000 +0100
+++ tests/runtest.py	2010-07-05 12:56:46.000000000 +0100
@@ -18,9 +18,9 @@
         hunspell_cmd = './hunspell'
     else:
         hunspell_cmd = 'hunspell'
-    hunspell = subprocess.Popen([hunspell_cmd, '-d', '../ko'],
+    hunspell = subprocess.Popen([hunspell_cmd, '-i', 'UTF-8', '-a', '-d', '../ko'],
                                 stdin=subprocess.PIPE, stdout=subprocess.PIPE)
-    hunspell.stdout.readline()  # the first line "Husnpell 1.2.8 ..."
+    hunspell.stdout.readline()  # the first line "Hunspell 1.2.8 ..."
     lineno = 0
     errmsg = sys.stderr.write
     for l in lines:


Index: hunspell-ko.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-ko/devel/hunspell-ko.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- hunspell-ko.spec	5 Jul 2010 10:48:51 -0000	1.14
+++ hunspell-ko.spec	5 Jul 2010 12:36:29 -0000	1.15
@@ -9,14 +9,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version
 License: MPLv1.1 or GPLv2 or LGPLv2
 BuildArch: noarch
 BuildRequires: python-lxml, hunspell
-
 Requires: hunspell
 
+Patch0: hunspell-dict-ko-0.4.2-1278333282.fixtests.patch
+
 %description
 Korean hunspell dictionaries.
 
 %prep
 %setup -q -n hunspell-dict-ko-%{version}
+%patch0 -p0 -b .fixtests
 
 %build
 make



More information about the scm-commits mailing list