From a2bac79bb5a7b10ba51059a5d6d11dd9df073987 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 18:11:08 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 11 ++++++++++- gating.yaml | 6 ++++++ malaga-suomi-voikko.spec | 5 ++++- tests/scripts/run_test.sh | 5 +++++ tests/tests.yml | 11 +++++++++++ 5 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 gating.yaml create mode 100644 tests/scripts/run_test.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index 8120f9e..badfbe7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,11 @@ -SOURCES/suomi-malaga-1.19.tar.gz +suomi-malaga-1.6.tar.gz +/suomi-malaga-1.7.tar.gz +/suomi-malaga-1.8.tar.gz +/suomi-malaga-1.9.tar.gz +/suomi-malaga-1.10.tar.gz +/suomi-malaga-1.11.tar.gz +/suomi-malaga-1.12.tar.gz +/suomi-malaga-1.14.tar.gz +/suomi-malaga-1.15.tar.gz +/suomi-malaga-1.17.tar.gz /suomi-malaga-1.19.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/malaga-suomi-voikko.spec b/malaga-suomi-voikko.spec index 7a61a58..db1be4b 100644 --- a/malaga-suomi-voikko.spec +++ b/malaga-suomi-voikko.spec @@ -1,6 +1,6 @@ Name: malaga-suomi-voikko Version: 1.19 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A description of Finnish morphology written in Malaga (Voikko edition) Group: Applications/Text @@ -48,6 +48,9 @@ make voikko-install DESTDIR=$RPM_BUILD_ROOT%{_libdir}/voikko %changelog +* Thu Apr 22 2021 Vishal Vijayraghavan - 1.19-6 +- Resolves: rhbz#1682201 add gating and CI test + * Tue Jul 03 2018 Mike FABIAN - 1.19-5 - Make it build using Python3 instead of Python2 - Resolves: rhbz#1595797 diff --git a/tests/scripts/run_test.sh b/tests/scripts/run_test.sh new file mode 100644 index 0000000..f2cb3f4 --- /dev/null +++ b/tests/scripts/run_test.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +echo alusta | malaga -m /usr/lib64/voikko/2/mor-standard/voikko-fi_FI.pro + +exit $? diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..f14720a --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: scripts/ + run: ./run_test.sh + required_packages: + - malaga