---- enchant-2.5.0/configure.ac.orig 2023-05-24 11:23:45.000000000 +0200
-+++ enchant-2.5.0/configure.ac 2023-07-24 19:59:56.784094186 +0200
-@@ -169,7 +169,7 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
- [_enchant_header=m4_default([$6], [$1[].h])
- AC_CHECK_HEADERS([$_enchant_header], [_header_found=yes], [_header_found=no], [])
- if test "$3" != NOLIB; then
+--- enchant-2.6.1/configure.ac.orig 2023-09-24 23:15:40.000000000 +0200
++++ enchant-2.6.1/configure.ac 2023-10-15 16:02:25.021151073 +0200
+@@ -181,7 +181,7 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
+ [ENCHANT_CHECK_PROVIDER_SETUP([$1], [$4])
+ AS_IF([test "$with_[]$1" != no],
+ [if test "$3" != NOLIB; then
- AC_CHECK_LIB([$1], [$3],,, [$5])
+ AC_CHECK_LIB([$1], [$3],[:],, [$5])
else
ac_cv_lib_[]$1[]_[]$3=yes
fi
-@@ -181,7 +181,10 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
+@@ -193,7 +193,10 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
else
with_[]$1=yes
build_providers="$build_providers $1"
Summary: libenchant - generic spell checking library
Summary(pl.UTF-8): libenchant - ogólna biblioteka sprawdzania pisowni
Name: enchant2
-Version: 2.5.0
+Version: 2.6.1
Release: 1
License: LGPL v2+
Group: Libraries
#Source0Download: https://github.com/AbiWord/enchant/releases
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
-# Source0-md5: 3cbf29a5d7f31107adb4e584e0bdfebb
+# Source0-md5: b22bc2ce92f74456f40acc9ce87be1a9
Patch0: %{name}-link.patch
URL: https://github.com/AbiWord/enchant
BuildRequires: aspell-devel >= 2:0.50.0