Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c40046ff28 | ||
|
|
a416454990 | ||
|
|
af56244bce | ||
|
|
2bf7e7a193 | ||
|
|
95ffac6b20 | ||
|
|
74a482c8ce | ||
|
|
f49aa351d0 | ||
|
|
4f01330be4 | ||
|
|
2b11cb9813 | ||
|
|
010c42c536 | ||
|
|
5b2d943de5 | ||
|
|
ce10a56e71 |
9 changed files with 92 additions and 46 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
/libdatrie-0.2.8.tar.xz
|
||||
/libdatrie-0.2.9.tar.xz
|
||||
/libdatrie-0.2.13.tar.xz
|
||||
/libdatrie-0.2.14.tar.xz
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
Name: libdatrie
|
||||
Version: 0.2.13
|
||||
Release: 3%{?dist}
|
||||
Version: 0.2.14
|
||||
Release: 1%{?dist}
|
||||
Summary: Implementation of Double-Array structure for representing trie
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.1-or-later
|
||||
URL: http://linux.thai.net/projects/datrie
|
||||
Source0: http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.xz
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: make
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
datrie is an implementation of double-array structure for representing trie.
|
||||
|
|
@ -48,8 +48,6 @@ find %{buildroot} -name '*.*a' -delete -print
|
|||
%check
|
||||
LD_LIBRARY_PATH=../datrie/.libs %make_build check
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_libdir}/libdatrie.so.*
|
||||
|
|
@ -64,6 +62,37 @@ LD_LIBRARY_PATH=../datrie/.libs %make_build check
|
|||
%{_pkgdocdir}-devel/*.{html,css,png,js,svg}
|
||||
|
||||
%changelog
|
||||
* Fri Nov 28 2025 Peng Wu <pwu@redhat.com> - 0.2.14-1
|
||||
- Update to 0.2.14
|
||||
- Resolves: RHBZ#2416998
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_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
|
||||
|
||||
|
|
|
|||
5
plans/basic.fmf
Normal file
5
plans/basic.fmf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (libdatrie-0.2.13.tar.xz) = db3c879d825ead5871c12ef3a06bb093cb1708a6e7e20775eaf82356af9dd6ad54c6b5cabbe1773f2494d3dfa2426528fdd49441038b6294b70ccb1a3d90099a
|
||||
SHA512 (libdatrie-0.2.14.tar.xz) = c5df387a1c9b5fae65eff69102651f4f054d873194d97faa8e329282353156fa4fb41a1ea771b24ade3f0ad2a548d85d7950a4aa6ed4e5c356bc504720e792d1
|
||||
|
|
|
|||
14
tests/main.fmf
Normal file
14
tests/main.fmf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
test: ./runtest.sh
|
||||
duration: 50m
|
||||
framework: beakerlib
|
||||
require:
|
||||
- make
|
||||
- gcc
|
||||
- autoconf
|
||||
- autoconf-archive
|
||||
- automake
|
||||
- libtool
|
||||
- doxygen
|
||||
- libdatrie
|
||||
- gnome-common
|
||||
- rpm-build
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/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 $?
|
||||
35
tests/runtest.sh
Executable file
35
tests/runtest.sh
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
#!/bin/bash
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlShowPackageVersion libdatrie
|
||||
rlRun -t -l "VERSION=$(rpm -q libdatrie --queryformat='%{version}')" 0 "Get VERSION"
|
||||
FEDORA_VERSION=$(rlGetDistroRelease)
|
||||
rlLog "FEDORA_VERSION=${DISTRO_RELEASE}"
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlFetchSrcForInstalled "libdatrie"
|
||||
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/libdatrie-${VERSION}-build ]; then
|
||||
rlRun -t -l "pushd BUILD/libdatrie-${VERSION}-build/libdatrie-${VERSION}"
|
||||
else
|
||||
rlRun -t -l "pushd BUILD/libdatrie-${VERSION}"
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "set -o pipefail"
|
||||
rlRun -t -l "NOCONFIGURE=1 gnome-autogen.sh"
|
||||
rlRun -t -l "./configure"
|
||||
rlRun -t -l "make"
|
||||
rlRun -t -l "make check"
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd; popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue