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/hunspell-or.spec b/hunspell-or.spec index 1482a16..5e5c170 100644 --- a/hunspell-or.spec +++ b/hunspell-or.spec @@ -1,13 +1,14 @@ -%if 0%{?fedora} > 35 +%if 0%{?fedora} >= 36 || 0%{?rhel} > 9 %global dict_dirname hunspell %else %global dict_dirname myspell %endif + Name: hunspell-or Summary: Odia hunspell dictionaries Version: 1.0.0 Epoch: 1 -Release: 25%{?dist} +Release: 26%{?dist} License: GPL-2.0-or-later URL: https://gitorious.org/hunspell_dictionaries/hunspell_dictionaries.git Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz @@ -39,6 +40,10 @@ cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/%{dict_dirname} %{_datadir}/%{dict_dirname}/* %changelog +* Sat Aug 03 2024 Parag Nemade - 1:1.0.0-26 +- Resolves:RHEL-52301 - Add conditional for RHEL for using hunspell directory +- Add tmt CI tests + * Mon Jun 24 2024 Troy Dawson - 1:1.0.0-25 - Bump release for June 2024 mass rebuild diff --git a/plans/hunspell-or.fmf b/plans/hunspell-or.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hunspell-or.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh deleted file mode 100644 index 80d965a..0000000 --- a/tests/scripts/run_tests.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -python3 test_suggest_words.py -python3 test_dic_availability.py diff --git a/tests/test_dic_availability.fmf b/tests/test_dic_availability.fmf new file mode 100644 index 0000000..8078a36 --- /dev/null +++ b/tests/test_dic_availability.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-or +test: python3 test_dic_availability.py +framework: shell + diff --git a/tests/scripts/test_dic_availability.py b/tests/test_dic_availability.py similarity index 100% rename from tests/scripts/test_dic_availability.py rename to tests/test_dic_availability.py diff --git a/tests/test_suggest_words.fmf b/tests/test_suggest_words.fmf new file mode 100644 index 0000000..bbf91a8 --- /dev/null +++ b/tests/test_suggest_words.fmf @@ -0,0 +1,6 @@ +require: +- python3-enchant +- hunspell-or +test: python3 test_suggest_words.py +framework: shell + diff --git a/tests/scripts/test_suggest_words.py b/tests/test_suggest_words.py similarity index 100% rename from tests/scripts/test_suggest_words.py rename to tests/test_suggest_words.py diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 5ffb74a..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,11 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - required_packages: - - python3-enchant - tags: - - classic - tests: - - sample: - dir: scripts/ - run: ./run_tests.sh