diff --git a/lmdb-s390-check.patch b/lmdb-s390-check.patch new file mode 100644 index 0000000..d19456c --- /dev/null +++ b/lmdb-s390-check.patch @@ -0,0 +1,16 @@ +The s390 arch needs a pause between accesing the database + +diff -up liblmdb/Makefile.old liblmdb/Makefile +--- liblmdb/Makefile.old 2014-06-26 09:34:24.593559711 +0200 ++++ liblmdb/Makefile 2014-06-26 09:34:48.131007841 +0200 +@@ -50,7 +50,9 @@ clean: + + test: all + mkdir testdb +- ./mtest && ./mdb_stat testdb ++ ./mtest ++ sleep 1 ++ ./mdb_stat testdb + + liblmdb.a: mdb.o midl.o + ar rs $@ mdb.o midl.o diff --git a/lmdb.spec b/lmdb.spec index 2029aa9..1e9526a 100644 --- a/lmdb.spec +++ b/lmdb.spec @@ -1,6 +1,6 @@ Name: lmdb Version: 0.9.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Memory-mapped key-value database License: OpenLDAP @@ -13,6 +13,7 @@ URL: http://symas.com/mdb/ Source: %{name}-%{version}.tar.gz # Patch description in the corresponding file Patch0: lmdb-make.patch +Patch1: lmdb-s390-check.patch BuildRequires: doxygen @@ -50,6 +51,7 @@ The %{name}-doc package contains automatically generated documentation for %{nam %prep %setup -q -n lib%{name} %patch0 -p1 -b .make +%patch1 -p1 -b .s390-check %build @@ -93,6 +95,9 @@ LD_LIBRARY_PATH=$PWD make test %changelog +* Thu Jun 26 2014 Jan Stanek - 0.9.11-3 +- Added delay in testing which was needed on s390* arches (#1104232) + * Sat Jun 07 2014 Fedora Release Engineering - 0.9.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild