Compare commits
26 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0b039bdf5 | ||
|
|
36a4f7039f | ||
|
|
948cbf15e0 |
||
|
|
6f62a940b4 | ||
|
|
efd01702a2 | ||
|
|
d4e05166b8 | ||
|
|
0777d36513 | ||
|
|
333318a5db | ||
|
|
032f9c1f43 | ||
|
|
94f83ce41f | ||
|
|
f6cbd0b36e | ||
|
|
652301f202 | ||
|
|
098b738531 | ||
|
|
b44d460d79 | ||
|
|
dee0f80557 | ||
|
|
ab1d484969 | ||
|
|
e4a2038771 | ||
|
|
7bd1821971 | ||
|
|
497129296a | ||
|
|
0431cb3dc6 | ||
|
|
c32faa4c44 |
||
|
|
97aff9ad70 | ||
|
|
dd732993ff | ||
|
|
218a22c92b |
||
|
|
bb8e7340df | ||
|
|
08d4c0cadb |
5 changed files with 121 additions and 21 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
84
hyphen.spec
84
hyphen.spec
|
|
@ -1,20 +1,15 @@
|
|||
Name: hyphen
|
||||
Summary: A text hyphenation library
|
||||
Version: 2.8.8
|
||||
Release: 8%{?dist}
|
||||
Release: 27%{?dist}
|
||||
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
URL: http://hunspell.sf.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
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
|
||||
# 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
|
||||
|
||||
%description
|
||||
Hyphen is a library for high quality hyphenation and justification.
|
||||
|
|
@ -22,7 +17,6 @@ Hyphen is a library for high quality hyphenation and justification.
|
|||
%package devel
|
||||
Requires: hyphen = %{version}-%{release}
|
||||
Summary: Files for developing with hyphen
|
||||
Group: Development/Libraries
|
||||
|
||||
%description devel
|
||||
Includes and definitions for developing with hyphen
|
||||
|
|
@ -30,7 +24,6 @@ Includes and definitions for developing with hyphen
|
|||
%package en
|
||||
Requires: hyphen
|
||||
Summary: English hyphenation rules
|
||||
Group: Applications/Text
|
||||
BuildArch: noarch
|
||||
|
||||
%description en
|
||||
|
|
@ -45,7 +38,7 @@ make %{?_smp_mflags}
|
|||
|
||||
%check
|
||||
make check
|
||||
%ifnarch s390 %{arm} %{mips} ppc64le
|
||||
%ifarch %{valgrind_arches}
|
||||
VALGRIND=memcheck make check
|
||||
%endif
|
||||
|
||||
|
|
@ -62,30 +55,79 @@ done
|
|||
popd
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
|
||||
%{_libdir}/*.so.*
|
||||
%dir %{_datadir}/hyphen
|
||||
|
||||
%files en
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/hyphen/hyph_en*.dic
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/hyphen.h
|
||||
%{_libdir}/*.so
|
||||
%{_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
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
5
plans/hyphen.fmf
Normal file
5
plans/hyphen.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
13
tests/main.fmf
Normal file
13
tests/main.fmf
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
test: ./runtests.sh
|
||||
duration: 10m
|
||||
framework: beakerlib
|
||||
require:
|
||||
- hyphen
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- m4
|
||||
- gcc
|
||||
- sed
|
||||
- make
|
||||
- rpm-build
|
||||
39
tests/runtests.sh
Executable file
39
tests/runtests.sh
Executable file
|
|
@ -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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue