diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/hunspell.spec b/hunspell.spec index 2e62287..38785ec 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -3,10 +3,10 @@ Name: hunspell Summary: A spell checker and morphological analyzer library Version: 1.7.2 -Release: 10%{?dist} +Release: 3%{?dist} Source: https://github.com/hunspell/hunspell/releases/download/v%{version}/hunspell-%{version}.tar.gz URL: https://github.com/hunspell/hunspell -License: LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-1.1 +License: LGPLv2+ or GPLv2+ or MPLv1.1 BuildRequires: gcc-c++ BuildRequires: autoconf, automake, libtool, ncurses-devel, gettext-devel BuildRequires: perl-generators @@ -44,7 +44,7 @@ packages. %prep %setup -q -%patch -P0 -p1 -b .rhbz2158548 +%patch0 -p1 -b .rhbz2158548 %build autoreconf -vfi @@ -129,27 +129,6 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell %{_datadir}/myspell %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 1.7.2-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 1.7.2-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jul 18 2024 Fedora Release Engineering - 1.7.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Jan 24 2024 Fedora Release Engineering - 1.7.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jan 20 2024 Fedora Release Engineering - 1.7.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 1.7.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Wed Feb 22 2023 Caolán McNamara - 1.7.2-4 -- migrated to SPDX license - * Thu Jan 19 2023 Fedora Release Engineering - 1.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/plans/hunspell.fmf b/plans/hunspell.fmf deleted file mode 100644 index c1627f9..0000000 --- a/plans/hunspell.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: Basic smoke test -discover: - how: fmf -execute: - how: tmt diff --git a/tests/data.txt b/tests/data.txt deleted file mode 100644 index 29c358c..0000000 --- a/tests/data.txt +++ /dev/null @@ -1,4 +0,0 @@ -Cloud -Linux -Fedora -Fedoraaa diff --git a/tests/main.fmf b/tests/main.fmf deleted file mode 100644 index ebec85f..0000000 --- a/tests/main.fmf +++ /dev/null @@ -1,5 +0,0 @@ -require: -- hunspell -- hunspell-de -test: bash ./run_tests.sh -framework: shell diff --git a/tests/run_tests.sh b/tests/run_tests.sh deleted file mode 100644 index 7d75074..0000000 --- a/tests/run_tests.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -check_pkg() { - local pkg=$1 - if rpm -q $pkg - then - echo "PASS" - else - echo "FAIL" - fi -} - -check_dict() { - if [ -f "/usr/share/hunspell/de_DE.dic" ] - then - echo "PASS" - else - echo "FAIL" - fi -} - -check_misspelled_word() { - VAR1="Fedoraaa" - VAR2=$(hunspell -l data.txt) - if [ "$VAR1" = "$VAR2" ]; then - echo "PASS" - else - echo "FAIL" - fi -} - -check_misspelled_line() { - VAR1="Fedoraaa" - VAR2=$(hunspell -L data.txt) - if [ "$VAR1" = "$VAR2" ]; then - echo "PASS" - else - echo "FAIL" - fi -} - -check_correct_word() { - VAR1="Cloud\nLinux\nFedora" - VAR1=$(echo -e "$VAR1") - VAR2=$(hunspell -G data.txt) - if [ "$VAR1" = "$VAR2" ]; then - echo "PASS" - else - echo "FAIL" - fi -} - -check_pkg "hunspell" -check_pkg "hunspell-de" -check_dict -check_misspelled_word -check_misspelled_line -check_correct_word