rpms/hunspell/devel hunspell-1.2.8-2784983.defaultlanguage.patch, 1.4, 1.5 hunspell.spec, 1.66, 1.67
Caolan McNamara
caolanm at fedoraproject.org
Thu Jul 9 08:13:53 UTC 2009
Author: caolanm
Update of /cvs/pkgs/rpms/hunspell/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21831/devel
Modified Files:
hunspell-1.2.8-2784983.defaultlanguage.patch hunspell.spec
Log Message:
fix up warnings
hunspell-1.2.8-2784983.defaultlanguage.patch:
Index: hunspell-1.2.8-2784983.defaultlanguage.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell-1.2.8-2784983.defaultlanguage.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- hunspell-1.2.8-2784983.defaultlanguage.patch 7 Jul 2009 14:04:28 -0000 1.4
+++ hunspell-1.2.8-2784983.defaultlanguage.patch 9 Jul 2009 08:13:52 -0000 1.5
@@ -9,7 +9,7 @@ diff -ru hunspell-1.2.8.orig/man/hunspel
-Without locale support, the default personal dictionary is
-the $HOME/.hunspell_default.
+The default dictionary depends on the locale settings. The
-+following environment variables are searched: LANGUAGE, LC_ALL,
++following environment variables are searched: LC_ALL,
+LC_MESSAGES, and LANG. If none are set then the default personal
+dictionary is $HOME/.hunspell_default.
@@ -20,7 +20,7 @@ diff -ru hunspell-1.2.8.orig/man/hunspel
.I \-p.
.SH FILES
+The default dictionary depends on the locale settings. The
-+following environment variables are searched: LANGUAGE, LC_ALL,
++following environment variables are searched: LC_ALL,
+LC_MESSAGES, and LANG. If none are set then the following
+fallbacks are used:
+
@@ -59,10 +59,10 @@ diff -ru hunspell-1.2.8.orig/src/tools/h
- if (at) *at = '\0';
- } else {
+ /*
-+ * Search in order of LANGUAGE, LC_ALL, LC_MESSAGES &
++ * Search in order of LC_ALL, LC_MESSAGES &
+ * LANG
+ */
-+ const char *tests[] = { "LANGUAGE", "LC_ALL", "LC_MESSAGES", "LANG" };
++ const char *tests[] = { "LC_ALL", "LC_MESSAGES", "LANG" };
+ for (size_t i = 0; i < sizeof(tests) / sizeof(const char*); ++i) {
+ if ((dicname=getenv(tests[i])) && strcmp(dicname, "") != 0) {
+ dicname = mystrdup(dicname);
Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/devel/hunspell.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- hunspell.spec 9 Jul 2009 08:11:07 -0000 1.66
+++ hunspell.spec 9 Jul 2009 08:13:52 -0000 1.67
@@ -1,7 +1,7 @@
Name: hunspell
Summary: A spell checker and morphological analyzer library
Version: 1.2.8
-Release: 8%{?dist}
+Release: 9%{?dist}
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
@@ -111,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/hunspell.3.gz
%changelog
+* Thu Jul 09 2009 Caolan McNamara <caolanm at redhat.com> - 1.2.8-9
+- fix up rpmlint warnings
+
* Tue Jul 07 2009 Caolan McNamara <caolanm at redhat.com> - 1.2.8-8
- Resolves: rhbz#509882 ignore an empty LANGUAGE variable
More information about the fedora-extras-commits
mailing list