Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

10 changed files with 118 additions and 12 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/libdatrie-0.2.9.tar.xz /libdatrie-0.2.8.tar.xz
/libdatrie-0.2.9.tar.xz
/libdatrie-0.2.13.tar.xz

View File

@ -1 +0,0 @@
d1e14729d950a0a2a484d768cf9eeebaa20f998e SOURCES/libdatrie-0.2.9.tar.xz

7
gating.yaml Normal file
View File

@ -0,0 +1,7 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
# this is the testcase identifier, which OSCI pipeline uses
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -1,13 +1,14 @@
Name: libdatrie Name: libdatrie
Version: 0.2.9 Version: 0.2.13
Release: 7%{?dist} Release: 11%{?dist}
Summary: Implementation of Double-Array structure for representing trie Summary: Implementation of Double-Array structure for representing trie
License: LGPLv2+ License: LGPL-2.1-or-later
URL: http://linux.thai.net/projects/datrie URL: http://linux.thai.net/projects/datrie
Source0: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz Source0: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
Patch0: libdatrie-fixes-docs.patch
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf, automake, libtool
BuildRequires: autoconf-archive
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: make
%description %description
datrie is an implementation of double-array structure for representing trie. datrie is an implementation of double-array structure for representing trie.
@ -29,7 +30,6 @@ developing applications that use %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .docs
%build %build
autoreconf -f -i -v autoreconf -f -i -v
@ -48,10 +48,6 @@ find %{buildroot} -name '*.*a' -delete -print
%check %check
LD_LIBRARY_PATH=../datrie/.libs %make_build check LD_LIBRARY_PATH=../datrie/.libs %make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%license COPYING %license COPYING
%{_libdir}/libdatrie.so.* %{_libdir}/libdatrie.so.*
@ -63,9 +59,64 @@ LD_LIBRARY_PATH=../datrie/.libs %make_build check
%{_libdir}/pkgconfig/datrie-0.2.pc %{_libdir}/pkgconfig/datrie-0.2.pc
%{_bindir}/trietool* %{_bindir}/trietool*
%{_mandir}/man1/trietool* %{_mandir}/man1/trietool*
%{_pkgdocdir}-devel/*.{html,css,png,js} %{_pkgdocdir}-devel/*.{html,css,png,js,svg}
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.2.13-11
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.13-10
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed May 17 2023 Peng Wu <pwu@redhat.com> - 0.2.13-6
- Migrate to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Feb 1 2021 Peng Wu <pwu@redhat.com> - 0.2.13-1
- Update to 0.2.13
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Oct 14 2020 Peng Wu <pwu@redhat.com> - 0.2.9-13
- Fixes FTBFS
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-7 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

6
plans/basic.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Basic smoke test
discover:
how: fmf
dist-git-source: true
execute:
how: tmt

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libdatrie-0.2.13.tar.xz) = db3c879d825ead5871c12ef3a06bb093cb1708a6e7e20775eaf82356af9dd6ad54c6b5cabbe1773f2494d3dfa2426528fdd49441038b6294b70ccb1a3d90099a

12
tests/main.fmf Normal file
View File

@ -0,0 +1,12 @@
test: bash ./make_check.sh ..
duration: 50m
framework: shell
require:
- make
- gcc
- autoconf
- autoconf-archive
- automake
- libtool
- doxygen
- rpm-build

27
tests/make_check.sh Normal file
View File

@ -0,0 +1,27 @@
#!/bin/bash
set -x
check_return_value () {
if [ $1 != 0 ] ; then
exit $1
fi
}
cd $1
VERSION=`rpmspec -q --srpm --qf "%{version}" libdatrie.spec 2>/dev/null`
if test -d libdatrie-$VERSION-build;
then cd libdatrie-$VERSION-build;
fi
cd libdatrie-$VERSION
autoreconf -f -i -v
./configure --prefix=/usr
check_return_value $?
make
check_return_value $?
make check
exit $?