From 55e1d7a3054c1ffab660a49abe7eed4aab095d3c Mon Sep 17 00:00:00 2001 From: lb1107039128 Date: Thu, 4 Jan 2024 16:10:03 +0800 Subject: [PATCH] README: Mention rust bindings Signed-off-by: lb1107039128 --- 0001-README-Mention-rust-bindings.patch | 24 ++++++++++++++++++++++++ enchant2.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-README-Mention-rust-bindings.patch diff --git a/0001-README-Mention-rust-bindings.patch b/0001-README-Mention-rust-bindings.patch new file mode 100644 index 0000000..68e222c --- /dev/null +++ b/0001-README-Mention-rust-bindings.patch @@ -0,0 +1,24 @@ +From 2ae937f1a83ef8b9d6f74faa593ab27a6b42fdcf Mon Sep 17 00:00:00 2001 +From: Jan Tojnar +Date: Wed, 4 Mar 2020 16:40:43 +0100 +Subject: [PATCH] README: Mention rust bindings + +--- + README | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/README b/README +index 68d2f19..d81a13f 100644 +--- a/README ++++ b/README +@@ -31,6 +31,7 @@ for: + + Python: https://github.com/rfk/pyenchant/ + Ruby: https://github.com/pennyapp/ruby-enchant ++Rust: https://crates.io/crates/enchant + Go: https://github.com/hermanschaaf/enchant + Common Lisp: https://github.com/tlikonen/cl-enchant + +-- +2.42.0.windows.2 + diff --git a/enchant2.spec b/enchant2.spec index 40756ab..f58e1e8 100644 --- a/enchant2.spec +++ b/enchant2.spec @@ -1,11 +1,12 @@ Name: enchant2 Version: 2.2.8 -Release: 2 +Release: 3 Summary: Generic spell checking library License: LGPLv2+ URL: https://github.com/AbiWord/enchant Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz Patch6000: backport-enchant_aspell.patch +Patch6001: 0001-README-Mention-rust-bindings.patch BuildRequires: automake autoconf libtool gcc-c++ glib2-devel aspell-devel hunspell-devel libvoikko-devel @@ -94,6 +95,9 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g; %{_mandir}/man1/* %changelog +* Thu Jan 4 2024 liubo - 2.2.8-3 +- README: Mention rust bindings + * Thu Apr 29 2021 zhaoyuxing - 2.2.8-2 - Type:bugfix - CVE:NA