Compare commits

...

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

8 changed files with 91 additions and 10 deletions

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-9
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
Version: 0.2.9
Release: 7%{?dist}
Version: 0.2.13
Release: 4%{?dist}
Summary: Implementation of Double-Array structure for representing trie
License: LGPLv2+
URL: http://linux.thai.net/projects/datrie
Source0: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
Patch0: libdatrie-fixes-docs.patch
BuildRequires: autoconf, automake, libtool
BuildRequires: autoconf-archive
BuildRequires: doxygen
BuildRequires: make
%description
datrie is an implementation of double-array structure for representing trie.
@ -29,7 +30,6 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1 -b .docs
%build
autoreconf -f -i -v
@ -48,9 +48,7 @@ find %{buildroot} -name '*.*a' -delete -print
%check
LD_LIBRARY_PATH=../datrie/.libs %make_build check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%license COPYING
@ -63,9 +61,44 @@ LD_LIBRARY_PATH=../datrie/.libs %make_build check
%{_libdir}/pkgconfig/datrie-0.2.pc
%{_bindir}/trietool*
%{_mandir}/man1/trietool*
%{_pkgdocdir}-devel/*.{html,css,png,js}
%{_pkgdocdir}-devel/*.{html,css,png,js,svg}
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.13-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jun 25 2021 Peng Wu <pwu@redhat.com> - 0.2.13-3
- Rebuild the package
- Resolves: #1973518
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.2.13-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

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

18
tests/make_check.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
set -x
check_return_value () {
if [ $1 != 0 ] ; then
exit $1
fi
}
cd $1
autoreconf -f -i -v
./configure --prefix=/usr
check_return_value $?
make
check_return_value $?
make check
exit $?

21
tests/tests.yml Normal file
View File

@ -0,0 +1,21 @@
- hosts: localhost
vars:
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
roles:
- role: standard-test-source # to get the source tar ball to do “make check”
- role: standard-test-basic
required_packages:
- make
- gcc
- autoconf
- autoconf-archive
- automake
- libtool
- doxygen
tests:
- make-check:
dir: ./
run: bash ./make_check.sh ./source