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