From dacd992a473cff24a96ec83199ac0d59ce5cc7cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:45:48 +0000 Subject: [PATCH 1/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hunspell-tk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-tk.spec b/hunspell-tk.spec index e940cb3..add984b 100644 --- a/hunspell-tk.spec +++ b/hunspell-tk.spec @@ -8,7 +8,7 @@ Name: hunspell-tk Summary: Turkmen hunspell dictionaries Version: 0.02 Epoch: 1 -Release: 27%{?dist} +Release: 28%{?dist} # Following link is dead now # Do not report bugs to fix it Source: http://releases.mozilla.org/pub/mozilla.org/addons/204314/turkmen_spell_checker-%{version}-tb+fx+sm.xpi @@ -38,6 +38,9 @@ cp -p dictionaries/tk-TM.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/tk.dic %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 1:0.02-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 1:0.02-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 26f1077ace1e706aa0995e464f52b61b56c6c35d Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 10 Sep 2024 19:01:17 +0530 Subject: [PATCH 2/6] Add tmt testcase for CI --- .fmf/version | 1 + plans/hunspell-tk.fmf | 5 +++++ tests/test_dic_availability.fmf | 6 ++++++ tests/test_dic_availability.py | 10 ++++++++++ tests/test_suggest_words.fmf | 6 ++++++ tests/test_suggest_words.py | 9 +++++++++ 6 files changed, 37 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/hunspell-tk.fmf create mode 100644 tests/test_dic_availability.fmf create mode 100644 tests/test_dic_availability.py create mode 100644 tests/test_suggest_words.fmf create mode 100644 tests/test_suggest_words.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/hunspell-tk.fmf b/plans/hunspell-tk.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-tk.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/test_dic_availability.fmf b/tests/test_dic_availability.fmf new file mode 100644 index 0000000..dc3a50d --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-tk +test: python3 test_dic_availability.py +framework: shell + diff --git a/tests/test_dic_availability.py b/tests/test_dic_availability.py new file mode 100644 index 0000000..67f3b75 --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "tk_TM" +try: + dic = enchant.request_dict(lang) + print("Dictionary for {0} language is available for use".format(lang)) +except enchant.errors.DictNotFoundError: + print("Dictionary is not installed for use") diff --git a/tests/test_suggest_words.fmf b/tests/test_suggest_words.fmf new file mode 100644 index 0000000..89ac1aa --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-tk +test: python3 test_suggest_words.py +framework: shell + diff --git a/tests/test_suggest_words.py b/tests/test_suggest_words.py new file mode 100644 index 0000000..dab6d2d --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "salam", "çaý", "irden"] +dic = enchant.Dict("tk_TM") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) From 97ff1b238bd9138ad41e2a9036de22871ddbf012 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:29:50 +0000 Subject: [PATCH 3/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hunspell-tk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-tk.spec b/hunspell-tk.spec index add984b..f93a979 100644 --- a/hunspell-tk.spec +++ b/hunspell-tk.spec @@ -8,7 +8,7 @@ Name: hunspell-tk Summary: Turkmen hunspell dictionaries Version: 0.02 Epoch: 1 -Release: 28%{?dist} +Release: 29%{?dist} # Following link is dead now # Do not report bugs to fix it Source: http://releases.mozilla.org/pub/mozilla.org/addons/204314/turkmen_spell_checker-%{version}-tb+fx+sm.xpi @@ -38,6 +38,9 @@ cp -p dictionaries/tk-TM.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/tk.dic %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 1:0.02-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 1:0.02-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 53603f259bd8e6b71371ba8d8a0e5a9b797a182d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:19:12 +0000 Subject: [PATCH 4/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hunspell-tk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-tk.spec b/hunspell-tk.spec index f93a979..7c77c95 100644 --- a/hunspell-tk.spec +++ b/hunspell-tk.spec @@ -8,7 +8,7 @@ Name: hunspell-tk Summary: Turkmen hunspell dictionaries Version: 0.02 Epoch: 1 -Release: 29%{?dist} +Release: 30%{?dist} # Following link is dead now # Do not report bugs to fix it Source: http://releases.mozilla.org/pub/mozilla.org/addons/204314/turkmen_spell_checker-%{version}-tb+fx+sm.xpi @@ -38,6 +38,9 @@ cp -p dictionaries/tk-TM.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/tk.dic %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1:0.02-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 1:0.02-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2c1646e10da1264813ad7b31d319ccd18b596a36 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 16:26:04 +0000 Subject: [PATCH 5/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- hunspell-tk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-tk.spec b/hunspell-tk.spec index 7c77c95..0a1b66c 100644 --- a/hunspell-tk.spec +++ b/hunspell-tk.spec @@ -8,7 +8,7 @@ Name: hunspell-tk Summary: Turkmen hunspell dictionaries Version: 0.02 Epoch: 1 -Release: 30%{?dist} +Release: 31%{?dist} # Following link is dead now # Do not report bugs to fix it Source: http://releases.mozilla.org/pub/mozilla.org/addons/204314/turkmen_spell_checker-%{version}-tb+fx+sm.xpi @@ -38,6 +38,9 @@ cp -p dictionaries/tk-TM.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/tk.dic %{_datadir}/%{dict_dirname}/* %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 1:0.02-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Thu Jul 24 2025 Fedora Release Engineering - 1:0.02-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From da1ef3b5e7a4980460e48f917a5b99e0dbeaa775 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 03:33:35 +0000 Subject: [PATCH 6/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- hunspell-tk.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hunspell-tk.spec b/hunspell-tk.spec index 0a1b66c..cb38ef5 100644 --- a/hunspell-tk.spec +++ b/hunspell-tk.spec @@ -8,7 +8,7 @@ Name: hunspell-tk Summary: Turkmen hunspell dictionaries Version: 0.02 Epoch: 1 -Release: 31%{?dist} +Release: 32%{?dist} # Following link is dead now # Do not report bugs to fix it Source: http://releases.mozilla.org/pub/mozilla.org/addons/204314/turkmen_spell_checker-%{version}-tb+fx+sm.xpi @@ -38,6 +38,9 @@ cp -p dictionaries/tk-TM.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/tk.dic %{_datadir}/%{dict_dirname}/* %changelog +* Thu Jul 16 2026 Fedora Release Engineering - 1:0.02-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Fri Jan 16 2026 Fedora Release Engineering - 1:0.02-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild