Compare commits

..

No commits in common. "rawhide" and "f37" have entirely different histories.

5 changed files with 8 additions and 89 deletions

View file

@ -1 +0,0 @@
1

View file

@ -1,12 +1,16 @@
Name: hyphen
Summary: A text hyphenation library
Version: 2.8.8
Release: 27%{?dist}
Release: 18%{?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
License: GPLv2 or LGPLv2+ or MPLv1.1
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
%ifarch %{valgrind_arches}
# 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
BuildRequires: valgrind
%endif
BuildRequires: make
@ -38,7 +42,7 @@ make %{?_smp_mflags}
%check
make check
%ifarch %{valgrind_arches}
%ifnarch s390 %{arm} %{mips} ppc64le
VALGRIND=memcheck make check
%endif
@ -71,33 +75,6 @@ popd
%{_bindir}/substrings.pl
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Mar 06 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.8.8-24
- Properly check valgrind arches
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Feb 23 2023 Caolán McNamara <caolanm@redhat.com> - 2.8.8-20
- migrated to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View file

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

View file

@ -1,13 +0,0 @@
test: ./runtests.sh
duration: 10m
framework: beakerlib
require:
- hyphen
- autoconf
- automake
- libtool
- m4
- gcc
- sed
- make
- rpm-build

View file

@ -1,39 +0,0 @@
#!/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