rpms/hunspell/F-7 hunspell-1.1.4-defaultdictfromlang.patch, 1.3, 1.4 hunspell.spec, 1.12, 1.13 sources, 1.3, 1.4 hunspell-1.1.5-missingheaders.patch, 1.1, NONE

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Mon May 21 08:47:59 UTC 2007


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14176

Modified Files:
	hunspell-1.1.4-defaultdictfromlang.patch hunspell.spec sources 
Removed Files:
	hunspell-1.1.5-missingheaders.patch 
Log Message:
patch level update

hunspell-1.1.4-defaultdictfromlang.patch:

Index: hunspell-1.1.4-defaultdictfromlang.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/F-7/hunspell-1.1.4-defaultdictfromlang.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hunspell-1.1.4-defaultdictfromlang.patch	11 Jan 2007 17:17:41 -0000	1.3
+++ hunspell-1.1.4-defaultdictfromlang.patch	21 May 2007 08:47:54 -0000	1.4
@@ -1,6 +1,6 @@
 --- hunspell-1.1.4/src/tools/hunspell.cxx.orig	2006-11-29 12:09:52.000000000 +0000
 +++ hunspell-1.1.4/src/tools/hunspell.cxx	2006-11-29 12:24:36.000000000 +0000
-@@ -1105,7 +1105,20 @@
+@@ -1105,7 +1105,23 @@
          if (printgood && (filter_mode == NORMAL)) filter_mode = BADWORD;
  
  	if (! dicname) {
@@ -10,6 +10,7 @@
 +                                dicname = mystrdup("default");
 +                        }
 +                        else {
++			        dicname = mystrdup(dicname);
 +			        int len = strlen(dicname);
 +			        for (int i = 0; i < len; ++i) {
 +			            if ((dicname[i] == '_') && (i+3 < len)) {
@@ -19,6 +20,8 @@
 +                                }
 +                        }
 +                }
++                else
++                    dicname = mystrdup(dicname);
  	}
  
  	if (!privdicname) privdicname = mystrdup(getenv("WORDLIST"));


Index: hunspell.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/F-7/hunspell.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hunspell.spec	20 Mar 2007 10:51:37 -0000	1.12
+++ hunspell.spec	21 May 2007 08:47:54 -0000	1.13
@@ -1,8 +1,8 @@
 Name:      hunspell
 Summary:   Hunspell is a spell checker and morphological analyzer library
-Version:   1.1.5
-Release:   2%{?dist}
-Source:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Version:   1.1.5.3
+Release:   1%{?dist}
+Source:    http://downloads.sourceforge.net/%{name}/hunspell-1.1.5-3.tar.gz
 Group:     System Environment/Libraries
 URL:       http://hunspell.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -10,8 +10,7 @@
 
 BuildRequires: libtool
 Patch0: hunspell-1.1.4-defaultdictfromlang.patch
-Patch1: hunspell-1.1.5-missingheaders.patch
-Patch2: hunspell-1.1.5-badheader.patch
+Patch1: hunspell-1.1.5-badheader.patch
 
 %description
 Hunspell is a spell checker and morphological analyzer library and program 
@@ -28,17 +27,16 @@
 Includes and definitions for developing with hunspell
 
 %prep
-%setup -q
+%setup -q -n hunspell-1.1.5
 %patch0 -p1 -b .defaultdictfromlang.patch
-%patch1 -p1 -b .missingheaders.patch
-%patch2 -p1 -b .badheader.patch
+%patch1 -p1 -b .badheader.patch
 
 %build
 libtoolize --automake --force
 aclocal -I m4
 autoconf
 automake
-%configure --disable-static
+%configure --disable-static  --with-ui --with-readline
 for i in man/*.? man/hu/*.?; do
     iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
     mv -f $i.new $i
@@ -53,6 +51,7 @@
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 rm -f $RPM_BUILD_ROOT/%{_bindir}/example
 mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
+mv $RPM_BUILD_ROOT/%{_includedir}/*munch* $RPM_BUILD_ROOT/%{_includedir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -81,6 +80,9 @@
 %{_libdir}/pkgconfig/hunspell.pc
 
 %changelog
+* Mon May 21 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.5.3-1
+- patchlevel release
+
 * Tue Mar 20 2007 Caolan McNamara <caolanm at redhat.com> - 1.1.5-2
 - some junk in delivered headers
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell/F-7/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	20 Mar 2007 09:08:14 -0000	1.3
+++ sources	21 May 2007 08:47:54 -0000	1.4
@@ -1 +1 @@
-c69950f7df9136e44a85390904445c45  hunspell-1.1.5.tar.gz
+9497cfb94c583c6717a2497c2495c561  hunspell-1.1.5-3.tar.gz


--- hunspell-1.1.5-missingheaders.patch DELETED ---




More information about the fedora-extras-commits mailing list