From 27b0a03118f171da27766539f31123a062ff093e Mon Sep 17 00:00:00 2001 From: Florin Asavoaie Date: Mon, 23 Apr 2018 20:54:44 +0000 Subject: [PATCH] Fixed build on CentOS 7 (for EPEL) - install -D doesn't work properly on CentOS 7, created the directory earlier - Fixed some build dependencies --- lmdb.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lmdb.spec b/lmdb.spec index 734d6f1..8bac69e 100644 --- a/lmdb.spec +++ b/lmdb.spec @@ -3,7 +3,7 @@ Name: lmdb Version: 0.9.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Memory-mapped key-value database License: OpenLDAP @@ -14,6 +14,8 @@ Source1: lmdb.pc.in Patch0: lmdb-make.patch Patch1: lmdb-s390-check.patch +BuildRequires: make +BuildRequires: gcc BuildRequires: doxygen %description @@ -67,7 +69,7 @@ popd pushd %{archive_path} # make install expects existing directory tree mkdir -m 0755 -p %{buildroot}{%{_bindir},%{_includedir}} -mkdir -m 0755 -p %{buildroot}{%{_libdir},%{_mandir}/man1} +mkdir -m 0755 -p %{buildroot}{%{_libdir}/pkgconfig,%{_mandir}/man1} make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} mandir=%{_mandir} install popd @@ -119,6 +121,10 @@ popd %changelog +* Mon Apr 23 2018 Florin Asavoaie - 0.9.22-2 +- Fixed Build Dependencies +- Made build work on CentOS 7 for EPEL + * Tue Apr 10 2018 Jan Staněk - 0.9.22-1 - Updated to 0.9.22