From 6f62a940b4637fcab969edfd119df23b4d961db7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 09:51:26 +0000 Subject: [PATCH 1/4] 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 2/4] 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 3/4] 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 4/4] 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