Added delay in testing which was needed on s390* arches (#1104232)

This commit is contained in:
Jan Staněk 2014-06-26 10:36:50 +02:00
parent e0b8e87aa5
commit 19ca8b8285
2 changed files with 22 additions and 1 deletions

16
lmdb-s390-check.patch Normal file
View File

@ -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

View File

@ -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 <jstanek@redhat.com> - 0.9.11-3
- Added delay in testing which was needed on s390* arches (#1104232)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild