Compare commits
No commits in common. "c8" and "imports/c10s/hyphen-2.8.8-25.el10" have entirely different histories.
c8
...
imports/c1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/hyphen-2.8.8.tar.gz
|
||||
/hyphen-2.8.8.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
0556c392beb59433e577e3517575801212201df6 SOURCES/hyphen-2.8.8.tar.gz
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -1,13 +1,15 @@
|
||||
Name: hyphen
|
||||
Summary: A text hyphenation library
|
||||
Version: 2.8.8
|
||||
Release: 9%{?dist}
|
||||
Release: 25%{?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
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
Hyphen is a library for high quality hyphenation and justification.
|
||||
@ -15,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
|
||||
@ -23,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
|
||||
@ -38,6 +38,9 @@ make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
%ifarch %{valgrind_arches}
|
||||
VALGRIND=memcheck make check
|
||||
%endif
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -52,30 +55,70 @@ 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
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.8.8-25
|
||||
- Bump release for June 2024 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
|
||||
|
32
tests/scripts/make_check.sh
Normal file
32
tests/scripts/make_check.sh
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
############################################################################
|
||||
#Developed for hyphen
|
||||
#This script is used to check sanity for hyphen package
|
||||
#Usage : ./make_check.sh
|
||||
#
|
||||
############################################################################
|
||||
|
||||
file_count=13
|
||||
pkg="hyphen"
|
||||
|
||||
check_return_value () {
|
||||
if [ $1 != 0 ] ; then
|
||||
exit $1
|
||||
fi
|
||||
}
|
||||
|
||||
check_files_count(){
|
||||
no_of_files=`rpm -qlv $pkg | wc -l`
|
||||
if [ $no_of_files == $file_count ]
|
||||
then
|
||||
echo "PASS"
|
||||
else
|
||||
echo "FAIL"
|
||||
fi
|
||||
}
|
||||
|
||||
cd ../source
|
||||
autoreconf -i
|
||||
automake --foreign -Wall
|
||||
./configure && make && make check
|
||||
check_files_count
|
24
tests/tests.yml
Normal file
24
tests/tests.yml
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tests:
|
||||
- make-check:
|
||||
dir: scripts
|
||||
run: bash ./make_check.sh
|
||||
required_packages:
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- m4
|
||||
- gcc
|
||||
- sed
|
||||
- make
|
Loading…
Reference in New Issue
Block a user