Run a number of quick subsystem checks on build

This commit is contained in:
Petr Kubat 2017-10-24 08:57:37 +02:00
parent ee7752ae54
commit 0f9eac24b2

View File

@ -4,7 +4,7 @@
Summary: The Berkeley DB database library for C
Name: libdb
Version: 5.3.28
Release: 27%{?dist}
Release: 28%{?dist}
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz
# For mt19937db.c
@ -290,6 +290,9 @@ LDBJ=./.libs/libdb_java-%{__soversion}.la
if test -f ${LDBJ} -a ! -f ${LDBJ}i; then
sed -e 's,^installed=no,installed=yes,' < ${LDBJ} > ${LDBJ}i
fi
# Run some quick subsystem checks
echo "source ../../test/tcl/test.tcl; r env; r mut; r memp" | tclsh
popd
%install
@ -448,6 +451,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libdb_java.so
%changelog
* Tue Oct 24 2017 Petr Kubat <pkubat@redhat.com> 5.3.21-28
- Run a number of quick subsystem checks on build
* Thu Sep 07 2017 Petr Kubat <pkubat@redhat.com> 5.3.21-27
- Fail properly when encountering removed or 0-byte regions (#1471011)