[packages/kf5-sonnet] - fix hunspell 1.4.detection - rel 2
baggins
baggins at pld-linux.org
Sun May 29 21:43:01 CEST 2016
commit f4377ba93de62662cef2afea2863ef9cb21337c1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 29 21:42:47 2016 +0200
- fix hunspell 1.4.detection
- rel 2
findhunspell-1.4.patch | 11 +++++++++++
kf5-sonnet.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/kf5-sonnet.spec b/kf5-sonnet.spec
index 254b94d..19db1d0 100644
--- a/kf5-sonnet.spec
+++ b/kf5-sonnet.spec
@@ -7,11 +7,12 @@
Summary: Multi-language spell checker
Name: kf5-%{kfname}
Version: 5.19.0
-Release: 1
+Release: 2
License: LGPL v2.1+
Group: X11/Libraries
Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
# Source0-md5: 08106da14942ebdfe0b901e649c20d7c
+Patch0: findhunspell-1.4.patch
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -56,6 +57,7 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
%prep
%setup -q -n %{kfname}-%{version}
+%patch0 -p1
%build
install -d build
diff --git a/findhunspell-1.4.patch b/findhunspell-1.4.patch
new file mode 100644
index 0000000..51cec6f
--- /dev/null
+++ b/findhunspell-1.4.patch
@@ -0,0 +1,11 @@
+--- sonnet-5.19.0/cmake/FindHUNSPELL.cmake~ 2016-02-06 15:03:16.000000000 +0100
++++ sonnet-5.19.0/cmake/FindHUNSPELL.cmake 2016-05-29 21:40:09.314742746 +0200
+@@ -14,7 +14,7 @@
+
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
+
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2)
+
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
+ # all listed variables are TRUE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kf5-sonnet.git/commitdiff/f4377ba93de62662cef2afea2863ef9cb21337c1
More information about the pld-cvs-commit
mailing list