Resolves:RHEL-52301 - Add conditional for RHEL for using hunspell directory

Add tmt CI tests
This commit is contained in:
Parag Nemade 2024-07-29 14:46:47 +05:30
parent 6c8f90e549
commit f769f8d09a
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
9 changed files with 25 additions and 17 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -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 <pnemade AT redhat DOT com> - 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 <tdawson@redhat.com> - 1:1.0.0-25
- Bump release for June 2024 mass rebuild

5
plans/hunspell-or.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View File

@ -1,4 +0,0 @@
#!/bin/bash
python3 test_suggest_words.py
python3 test_dic_availability.py

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-or
test: python3 test_dic_availability.py
framework: shell

View File

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-or
test: python3 test_suggest_words.py
framework: shell

View File

@ -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