From 94f83ce41f63429f1992d77e1edd65622e636d83 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 12:42:01 +0000 Subject: [PATCH 01/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index d4abef9..3d76c3d 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 18%{?dist} +Release: 19%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPLv2 or LGPLv2+ or MPLv1.1 @@ -75,6 +75,9 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 2.8.8-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 2.8.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 032f9c1f436e746e5ed77970a1529b18ff626367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Thu, 23 Feb 2023 10:15:54 +0000 Subject: [PATCH 02/10] migrated to SPDX license --- hyphen.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hyphen.spec b/hyphen.spec index 3d76c3d..1e0b605 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,10 +1,10 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 19%{?dist} +Release: 20%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net -License: GPLv2 or LGPLv2+ or MPLv1.1 +License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 BuildRequires: perl-interpreter, patch, autoconf, automake, libtool # s390 lacks valgrind support # no working valgrind built for MIPS yet @@ -75,6 +75,9 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Feb 23 2023 Caolán McNamara - 2.8.8-20 +- migrated to SPDX license + * Thu Jan 19 2023 Fedora Release Engineering - 2.8.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 333318a5db44136957b76d271cae844704d366a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 06:56:06 +0000 Subject: [PATCH 03/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index 1e0b605..69928a3 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 20%{?dist} +Release: 21%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -75,6 +75,9 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 2.8.8-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Feb 23 2023 Caolán McNamara - 2.8.8-20 - migrated to SPDX license From 0777d36513845ceec25522f1604a999cd14e2310 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jan 2024 22:38:54 +0000 Subject: [PATCH 04/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index 69928a3..fdec4f7 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 21%{?dist} +Release: 22%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -75,6 +75,9 @@ popd %{_bindir}/substrings.pl %changelog +* Sat Jan 20 2024 Fedora Release Engineering - 2.8.8-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Jul 20 2023 Fedora Release Engineering - 2.8.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From d4e05166b8ea150f02ce4a4c2c43916c96d1bda5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 22:14:45 +0000 Subject: [PATCH 05/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index fdec4f7..82ab040 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 22%{?dist} +Release: 23%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -75,6 +75,9 @@ popd %{_bindir}/substrings.pl %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 2.8.8-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jan 20 2024 Fedora Release Engineering - 2.8.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From efd01702a2e488c982b21ba121adba5fd7910ff7 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 13 Dec 2023 15:33:02 +0200 Subject: [PATCH 06/10] Properly check valgrind arches Signed-off-by: David Abdurachmanov --- hyphen.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/hyphen.spec b/hyphen.spec index 82ab040..02303c3 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,16 +1,12 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 23%{?dist} +Release: 24%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 BuildRequires: perl-interpreter, patch, autoconf, automake, libtool -# s390 lacks valgrind support -# no working valgrind built for MIPS yet -# tests with valgrind fail on arm -# tests with valgrind fail on ppc64le -%ifnarch s390 %{arm} %{mips} ppc64le +%ifarch %{valgrind_arches} BuildRequires: valgrind %endif BuildRequires: make @@ -42,7 +38,7 @@ make %{?_smp_mflags} %check make check -%ifnarch s390 %{arm} %{mips} ppc64le +%ifarch %{valgrind_arches} VALGRIND=memcheck make check %endif @@ -75,6 +71,9 @@ popd %{_bindir}/substrings.pl %changelog +* Wed Mar 06 2024 David Abdurachmanov - 2.8.8-24 +- Properly check valgrind arches + * Wed Jan 24 2024 Fedora Release Engineering - 2.8.8-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6f62a940b4637fcab969edfd119df23b4d961db7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:51:26 +0000 Subject: [PATCH 07/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index 02303c3..91045ec 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 24%{?dist} +Release: 25%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -71,6 +71,9 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 2.8.8-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Mar 06 2024 David Abdurachmanov - 2.8.8-24 - Properly check valgrind arches From 948cbf15e02f2cf018531b2624634004a1935472 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Wed, 8 Jan 2025 15:45:06 +0530 Subject: [PATCH 08/10] Add tmt testcase for CI --- .fmf/version | 1 + plans/hyphen.fmf | 5 +++++ tests/main.fmf | 13 +++++++++++++ tests/runtests.sh | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/hyphen.fmf create mode 100644 tests/main.fmf create mode 100755 tests/runtests.sh 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/hyphen.fmf b/plans/hyphen.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/hyphen.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..5f659d9 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,13 @@ +test: ./runtests.sh +duration: 10m +framework: beakerlib +require: + - hyphen + - autoconf + - automake + - libtool + - m4 + - gcc + - sed + - make + - rpm-build diff --git a/tests/runtests.sh b/tests/runtests.sh new file mode 100755 index 0000000..24459d5 --- /dev/null +++ b/tests/runtests.sh @@ -0,0 +1,39 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +NAME=hyphen + +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 "autoreconf -i" + rlRun "automake --foreign -Wall" + rlRun "./configure && make && make check" + rlRun "retval=$?" + rlRun "echo $retval" + rlRun "popd" 0 + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $tmp" 0 "Remove tmp directory" + rlPhaseEnd +rlJournalEnd + From 36a4f7039ffea86a0452299b7931f6f6c61a32e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 06:36:14 +0000 Subject: [PATCH 09/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index 91045ec..d390f2f 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 25%{?dist} +Release: 26%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -71,6 +71,9 @@ popd %{_bindir}/substrings.pl %changelog +* Fri Jan 17 2025 Fedora Release Engineering - 2.8.8-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 2.8.8-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From e0b039bdf575a3ece8e9bfd5c7b3031f94cdadc8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 17:22:33 +0000 Subject: [PATCH 10/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- hyphen.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index d390f2f..29ec558 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,7 +1,7 @@ Name: hyphen Summary: A text hyphenation library Version: 2.8.8 -Release: 26%{?dist} +Release: 27%{?dist} Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz URL: http://hunspell.sf.net License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1 @@ -71,6 +71,9 @@ popd %{_bindir}/substrings.pl %changelog +* Thu Jul 24 2025 Fedora Release Engineering - 2.8.8-27 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Fri Jan 17 2025 Fedora Release Engineering - 2.8.8-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild