From f701db5a30eadcbf0244f2198007e2ea60b2d33d Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Thu, 26 Mar 2020 15:45:23 +0100 Subject: [PATCH 01/17] Add perl dependencies needed for build --- hspell.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hspell.spec b/hspell.spec index a3bc6c2..84b3a42 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,14 +1,15 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 9%{?dist} +Release: 10%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz Patch0: 0001-require-local-module-explicitly.patch -BuildRequires: gcc -BuildRequires: hunspell-devel, perl-generators, zlib-devel +BuildRequires: gcc, make, hunspell-devel +BuildRequires: perl-generators, perl-interpreter, zlib-devel +BuildRequires: perl(Carp), perl(FileHandle) %description Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly @@ -85,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Mar 26 2020 Jitka Plesnikova - 1.4-10 +- Add perl dependencies needed for build + * Wed Jan 29 2020 Fedora Release Engineering - 1.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 5258790b99839b62c9881605c86f235eda514090 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 00:58:17 +0000 Subject: [PATCH 02/17] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 84b3a42..641e3bc 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 10%{?dist} +Release: 11%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %ldconfig_scriptlets %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Mar 26 2020 Jitka Plesnikova - 1.4-10 - Add perl dependencies needed for build From 319a06235d80f3ff13dd0db54fe1d726801e04a4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 13:33:54 +0000 Subject: [PATCH 03/17] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 641e3bc..f9bc343 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 11%{?dist} +Release: 12%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %ldconfig_scriptlets %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From e98e4ebe8cad891ff1ab8d8a7117ad1ec748e2a1 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 21 May 2021 22:13:21 +0530 Subject: [PATCH 04/17] Add gating tests --- tests/smoke/runtest.sh | 7 +++++++ tests/tests.yml | 20 ++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..985f950 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,7 @@ +#!/bin/bash +cd ../source +echo "Default installation does not have aspell binary so remove its execution" +sed -i 's/he.rws hunspell/hunspell/g' Makefile.in +./configure +sed -i '82,84d' test/test1 +make V=1 test diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..12af46d --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - gcc + - make + - hspell + - gzip + - zlib-devel From ff5e3efa9692f4937afcba0cdd2672b8be1ceb15 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 07:43:15 +0000 Subject: [PATCH 05/17] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index f9bc343..19c61a5 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 12%{?dist} +Release: 13%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 1.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From afb67a6a1ff225a6b6152a8cf04f3cd47559b0a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 12:26:29 +0000 Subject: [PATCH 06/17] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 19c61a5..66a1ef8 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 13%{?dist} +Release: 14%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.4-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 1.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From d04e73b0cf2d36d9a084656a828bda358ef54cfd Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Sat, 29 Jan 2022 18:48:32 +0530 Subject: [PATCH 07/17] Update hunspell dictionary directory path https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change Signed-off-by: Parag Nemade --- hspell.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/hspell.spec b/hspell.spec index 66a1ef8..41ae665 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 14%{?dist} +Release: 15%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -57,9 +57,9 @@ make hunspell make DESTDIR=$RPM_BUILD_ROOT STRIP=: install rm -f $RPM_BUILD_ROOT/%{_libdir}/libhspell.a -mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic -cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hunspell +cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.dic +cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %check # there are three known failures @@ -81,11 +81,15 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff %files -n hunspell-he %doc LICENSE -%{_datadir}/myspell/* +%{_datadir}/hunspell/* %ldconfig_scriptlets %changelog +* Sat Jan 29 2022 Parag Nemade - 1.4-15 +- Update hunspell dictionary directory path + https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change + * Thu Jan 20 2022 Fedora Release Engineering - 1.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From c911004bc036fd9e5b138d14b6e69b25869c7292 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 13:44:50 +0000 Subject: [PATCH 08/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 41ae665..f988f16 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 15%{?dist} +Release: 16%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.4-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 29 2022 Parag Nemade - 1.4-15 - Update hunspell dictionary directory path https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change From 848656df4f0041cd187236bbf54df7a931d4cbf5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:13:44 +0000 Subject: [PATCH 09/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index f988f16..ecb796f 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 16%{?dist} +Release: 17%{?dist} License: AGPLv3 URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.4-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 1.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 82a1a2e887a0212715b90d51d4dd66f0ff47b6ef Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 7 Jul 2023 10:28:16 +0530 Subject: [PATCH 10/17] Migrate to SPDX license expression --- hspell.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hspell.spec b/hspell.spec index ecb796f..ddbfa1a 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,8 +1,8 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 17%{?dist} -License: AGPLv3 +Release: 18%{?dist} +License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz Patch0: 0001-require-local-module-explicitly.patch @@ -45,7 +45,7 @@ Hebrew hunspell dictionaries. %prep %setup -q -%patch0 -p1 -b .localreq +%patch -P 0 -p1 -b .localreq /usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW %build @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Fri Jul 07 2023 Parag Nemade - 1.4-18 +- Migrate to SPDX license expression + * Thu Jan 19 2023 Fedora Release Engineering - 1.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 7017373e6d0a5b15c4e04b851e258e3c53cef489 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:26:12 +0000 Subject: [PATCH 11/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index ddbfa1a..df22ecd 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 18%{?dist} +Release: 19%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.4-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jul 07 2023 Parag Nemade - 1.4-18 - Migrate to SPDX license expression From 3ff49da80a70eaf8656e244a4aad3eced82b0c74 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:12:30 +0000 Subject: [PATCH 12/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index df22ecd..270fb51 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 19%{?dist} +Release: 20%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 1.4-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 1.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 6b0cfb956e5dfdd39362ded718977711d739c8c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 21:46:50 +0000 Subject: [PATCH 13/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 270fb51..42fbebf 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 20%{?dist} +Release: 21%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 1.4-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 1.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 975ed4ee7b6a287416917c642f2601cbcc4de929 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:22:06 +0000 Subject: [PATCH 14/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 42fbebf..bb79b35 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 21%{?dist} +Release: 22%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 1.4-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 1.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b2f261fa6f7adc77d0feee42efe482a61bf6c553 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 29 Aug 2024 13:59:31 +0530 Subject: [PATCH 15/17] Add tmt testcase for CI --- .fmf/version | 1 + plans/hspell.fmf | 5 ++++ tests/main.fmf | 11 +++++++++ tests/runtests.sh | 41 +++++++++++++++++++++++++++++++++ tests/smoke/runtest.sh | 7 ------ tests/test_dic_availability.fmf | 6 +++++ tests/test_dic_availability.py | 10 ++++++++ tests/test_suggest_words.fmf | 6 +++++ tests/test_suggest_words.py | 9 ++++++++ tests/tests.yml | 20 ---------------- 10 files changed, 89 insertions(+), 27 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/hspell.fmf create mode 100644 tests/main.fmf create mode 100755 tests/runtests.sh delete mode 100644 tests/smoke/runtest.sh 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 delete mode 100644 tests/tests.yml 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/hspell.fmf b/plans/hspell.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hspell.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..b7fae52 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,11 @@ +test: ./runtests.sh +duration: 10m +framework: beakerlib +require: + - hspell + - hunspell-he + - make + - gcc + - gzip + - zlib-devel + - rpm-build diff --git a/tests/runtests.sh b/tests/runtests.sh new file mode 100755 index 0000000..c125841 --- /dev/null +++ b/tests/runtests.sh @@ -0,0 +1,41 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +NAME=convmv + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm ${NAME} + rlShowPackageVersion ${NAME} + rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION" + rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" + rlRun "pushd $tmp" + rlFetchSrcForInstalled "${NAME}" + rlRun "rpm --define '_topdir $tmp' -i *src.rpm" + rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory" + rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec" + if [ -d BUILD/${NAME}-${VERSION}-build ]; then + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}" + else + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}" + fi + rlPhaseEnd + + rlPhaseStartTest + rlRun "set -o pipefail" + rlRun "echo "Default installation does not have aspell binary so remove its execution"" + rlRun "sed -i 's/he.rws hunspell/hunspell/g' Makefile.in" + rlRun "./configure" + rlRun "sed -i '82,84d' test/test1" + rlRun "make V=1 test" + rlRun "retval=$?" + rlRun "echo $retval" + rlRun "popd" 0 + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $tmp" 0 "Remove tmp directory" + rlPhaseEnd +rlJournalEnd + diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh deleted file mode 100644 index 985f950..0000000 --- a/tests/smoke/runtest.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -cd ../source -echo "Default installation does not have aspell binary so remove its execution" -sed -i 's/he.rws hunspell/hunspell/g' Makefile.in -./configure -sed -i '82,84d' test/test1 -make V=1 test diff --git a/tests/test_dic_availability.fmf b/tests/test_dic_availability.fmf new file mode 100644 index 0000000..ce5ab04 --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-he +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..36ba52e --- /dev/null +++ b/tests/test_dic_availability.py @@ -0,0 +1,10 @@ +#!/usr/bin/python3 + +import enchant + +lang = "he_IL" +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..67e5e69 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-he +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..3ca2942 --- /dev/null +++ b/tests/test_suggest_words.py @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import enchant + +wdlst = [ "שלום", "תֵה", "שַׁחַר"] +dic = enchant.Dict("he_IL") +for wd in wdlst: + dic.check(wd) + print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd))) diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 12af46d..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -- hosts: localhost - tags: - - classic - roles: - - role: standard-test-source - -- hosts: localhost - tags: - - classic - roles: - - role: standard-test-basic - tests: - - smoke - required_packages: - - gcc - - make - - hspell - - gzip - - zlib-devel From 4d74ea0df9c74f774bd82b65519492a50a1b5f3a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:02:17 +0000 Subject: [PATCH 16/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index bb79b35..249838b 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 22%{?dist} +Release: 23%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 1.4-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 1.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From ce78a7aaa4f1aa158057d45b7a2428e5ae95f08d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:05:13 +0000 Subject: [PATCH 17/17] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hspell.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hspell.spec b/hspell.spec index 249838b..46097f7 100644 --- a/hspell.spec +++ b/hspell.spec @@ -1,7 +1,7 @@ Summary: A Hebrew spell checker Name: hspell Version: 1.4 -Release: 23%{?dist} +Release: 24%{?dist} License: AGPL-3.0-only URL: http://hspell.ivrix.org.il/ Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz @@ -86,6 +86,9 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff %ldconfig_scriptlets %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 1.4-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 1.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild