Fixed build on CentOS 7 (for EPEL) - install -D doesn't work properly on CentOS 7, created the directory earlier - Fixed some build dependencies
This commit is contained in:
parent
5a4cc7958e
commit
27b0a03118
10
lmdb.spec
10
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 <florin.asavoaie@gmail.com> - 0.9.22-2
|
||||
- Fixed Build Dependencies
|
||||
- Made build work on CentOS 7 for EPEL
|
||||
|
||||
* Tue Apr 10 2018 Jan Staněk <jstanek@redhat.com> - 0.9.22-1
|
||||
- Updated to 0.9.22
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user