From 185800b73dead9ba07369f522256c9012a44a253 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Nov 24 2017 09:55:51 +0000 Subject: latest version --- diff --git a/.gitignore b/.gitignore index 47157fc..0ca46b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/v1.5.4.tar.gz +/v1.6.2.tar.gz diff --git a/0001-coverity-173065-Resource-leak.patch b/0001-coverity-173065-Resource-leak.patch deleted file mode 100644 index aedec7a..0000000 --- a/0001-coverity-173065-Resource-leak.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 47ed203d1f58157a8e8c5cce51bfa2094018f847 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= -Date: Wed, 7 Dec 2016 16:24:58 +0000 -Subject: [PATCH] coverity#173065 Resource leak - ---- - src/tools/hunspell.cxx | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/src/tools/hunspell.cxx b/src/tools/hunspell.cxx -index 6345cad..3a037b3 100644 ---- a/src/tools/hunspell.cxx -+++ b/src/tools/hunspell.cxx -@@ -1131,19 +1131,19 @@ void dialogscreen(TextParser* parser, - - // handle long lines and tabulators - std::string lines[MAXPREVLINE]; -- std::string pPrevLine; -+ std::string prevLine; - for (int i = 0; i < MAXPREVLINE; i++) { -- pPrevLine = parser->get_prevline(i); -- expand_tab(lines[i], chenc(pPrevLine, io_enc, ui_enc)); -+ prevLine = parser->get_prevline(i); -+ expand_tab(lines[i], chenc(prevLine, io_enc, ui_enc)); - } - -- pPrevLine = parser->get_prevline(0); -- std::string line = pPrevLine.substr(0, parser->get_tokenpos()); -+ prevLine = parser->get_prevline(0); -+ std::string line = prevLine.substr(0, parser->get_tokenpos()); - std::string line2; - int tokenbeg = expand_tab(line2, chenc(line, io_enc, ui_enc)); - -- pPrevLine = mystrdup(parser->get_prevline(0).c_str()); -- line = pPrevLine.substr(0, parser->get_tokenpos() + token.size()); -+ prevLine = parser->get_prevline(0); -+ line = prevLine.substr(0, parser->get_tokenpos() + token.size()); - int tokenend = expand_tab(line2, chenc(line, io_enc, ui_enc)); - - int rowindex = (tokenend - 1) / x; --- -2.9.3 - diff --git a/hunspell.spec b/hunspell.spec index b9b62f8..2a1e235 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -2,8 +2,8 @@ Name: hunspell Summary: A spell checker and morphological analyzer library -Version: 1.5.4 -Release: 4%{?dist} +Version: 1.6.2 +Release: 1%{?dist} Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz Group: System Environment/Libraries URL: https://github.com/hunspell/hunspell @@ -19,8 +19,6 @@ BuildRequires: words %endif Requires: hunspell-en-US -Patch0: 0001-coverity-173065-Resource-leak.patch - %description Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or @@ -37,9 +35,9 @@ Includes and definitions for developing with hunspell %prep %setup -q -%patch0 -p1 -b .cid173065 %build +autoreconf -vfi configureflags="--disable-rpath --disable-static --with-ui --with-readline" %define profilegenerate \ @@ -96,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) -%doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS +%doc README README.myspell COPYING COPYING.LESSER COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS %{_libdir}/*.so.* %{_datadir}/myspell %{_bindir}/hunspell @@ -125,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man5/hunspell.5.gz %changelog +* Fri Nov 24 2017 Caolán McNamara - 1.6.2-1 +- latest release + * Wed Aug 02 2017 Fedora Release Engineering - 1.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index ff719a9..3b7eb92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9849a2381bacbeb2714034ad825bede8 v1.5.4.tar.gz +SHA512 (v1.6.2.tar.gz) = a23127f1271da95ac06a1fb2f57b659485e959567b61da05b2bb350684003a0fb7e882b5e524c465fd890f79f513ed03174f38611989a1c09081147c47d6da11