Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c40046ff28 | ||
|
|
a416454990 | ||
|
|
af56244bce | ||
|
|
2bf7e7a193 |
7 changed files with 53 additions and 33 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
/libdatrie-0.2.8.tar.xz
|
/libdatrie-0.2.8.tar.xz
|
||||||
/libdatrie-0.2.9.tar.xz
|
/libdatrie-0.2.9.tar.xz
|
||||||
/libdatrie-0.2.13.tar.xz
|
/libdatrie-0.2.13.tar.xz
|
||||||
|
/libdatrie-0.2.14.tar.xz
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
Name: libdatrie
|
Name: libdatrie
|
||||||
Version: 0.2.13
|
Version: 0.2.14
|
||||||
Release: 10%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Implementation of Double-Array structure for representing trie
|
Summary: Implementation of Double-Array structure for representing trie
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
URL: http://linux.thai.net/projects/datrie
|
URL: http://linux.thai.net/projects/datrie
|
||||||
|
|
@ -62,6 +62,16 @@ LD_LIBRARY_PATH=../datrie/.libs %make_build check
|
||||||
%{_pkgdocdir}-devel/*.{html,css,png,js,svg}
|
%{_pkgdocdir}-devel/*.{html,css,png,js,svg}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
summary: Basic smoke test
|
summary: Basic smoke test
|
||||||
discover:
|
discover:
|
||||||
how: fmf
|
how: fmf
|
||||||
dist-git-source: true
|
|
||||||
execute:
|
execute:
|
||||||
how: tmt
|
how: tmt
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (libdatrie-0.2.13.tar.xz) = db3c879d825ead5871c12ef3a06bb093cb1708a6e7e20775eaf82356af9dd6ad54c6b5cabbe1773f2494d3dfa2426528fdd49441038b6294b70ccb1a3d90099a
|
SHA512 (libdatrie-0.2.14.tar.xz) = c5df387a1c9b5fae65eff69102651f4f054d873194d97faa8e329282353156fa4fb41a1ea771b24ade3f0ad2a548d85d7950a4aa6ed4e5c356bc504720e792d1
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
test: bash ./make_check.sh ..
|
test: ./runtest.sh
|
||||||
duration: 50m
|
duration: 50m
|
||||||
framework: shell
|
framework: beakerlib
|
||||||
require:
|
require:
|
||||||
- make
|
- make
|
||||||
- gcc
|
- gcc
|
||||||
|
|
@ -9,4 +9,6 @@ require:
|
||||||
- automake
|
- automake
|
||||||
- libtool
|
- libtool
|
||||||
- doxygen
|
- doxygen
|
||||||
|
- libdatrie
|
||||||
|
- gnome-common
|
||||||
- rpm-build
|
- rpm-build
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
#!/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 $?
|
|
||||||
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue