Update to 0.9.19
This commit is contained in:
parent
050a089d5a
commit
34ea9ac28a
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/LMDB_0.9.16.tar.gz
|
||||
/LMDB_0.9.17.tar.gz
|
||||
/LMDB_0.9.18.tar.gz
|
||||
/LMDB_0.9.19.tar.gz
|
||||
|
@ -1,26 +1,24 @@
|
||||
# Patch the main Makefile to allow for a build that complies to packaging guidelines.
|
||||
|
||||
diff -up lmdb-LMDB_0.9.18/libraries/liblmdb/Makefile.oldmake lmdb-LMDB_0.9.18/libraries/liblmdb/Makefile
|
||||
--- lmdb-LMDB_0.9.18/libraries/liblmdb/Makefile.oldmake 2016-02-10 11:25:58.609614905 +0100
|
||||
+++ lmdb-LMDB_0.9.18/libraries/liblmdb/Makefile 2016-02-10 11:28:27.100398910 +0100
|
||||
diff -up lmdb-LMDB_0.9.19/libraries/liblmdb/Makefile.orig lmdb-LMDB_0.9.19/libraries/liblmdb/Makefile
|
||||
--- lmdb-LMDB_0.9.19/libraries/liblmdb/Makefile.orig 2017-01-04 12:14:24.303344915 +0100
|
||||
+++ lmdb-LMDB_0.9.19/libraries/liblmdb/Makefile 2017-01-04 12:19:20.190295319 +0100
|
||||
@@ -26,6 +26,7 @@ OPT = -O2 -g
|
||||
CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
||||
LDLIBS =
|
||||
SOLIBS =
|
||||
+SOVERSION = 0.0.0
|
||||
SOEXT = .so
|
||||
prefix = /usr/local
|
||||
exec_prefix = $(prefix)
|
||||
bindir = $(exec_prefix)/bin
|
||||
@@ -37,7 +38,7 @@ mandir = $(datarootdir)/man
|
||||
@@ -38,7 +39,7 @@ mandir = $(datarootdir)/man
|
||||
########################################################################
|
||||
|
||||
IHDRS = lmdb.h
|
||||
-ILIBS = liblmdb.a liblmdb.so
|
||||
+ILIBS = liblmdb.so liblmdb.so.$(SOVERSION)
|
||||
-ILIBS = liblmdb.a liblmdb$(SOEXT)
|
||||
+ILIBS = liblmdb$(SOEXT) liblmdb$(SOEXT).$(SOVERSION)
|
||||
IPROGS = mdb_stat mdb_copy mdb_dump mdb_load
|
||||
IDOCS = mdb_stat.1 mdb_copy.1 mdb_dump.1 mdb_load.1
|
||||
PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
|
||||
@@ -48,13 +49,13 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
|
||||
@@ -49,13 +50,13 @@ install: $(ILIBS) $(IPROGS) $(IHDRS)
|
||||
mkdir -p $(DESTDIR)$(libdir)
|
||||
mkdir -p $(DESTDIR)$(includedir)
|
||||
mkdir -p $(DESTDIR)$(mandir)/man1
|
||||
@ -39,16 +37,16 @@ diff -up lmdb-LMDB_0.9.18/libraries/liblmdb/Makefile.oldmake lmdb-LMDB_0.9.18/li
|
||||
|
||||
test: all
|
||||
rm -rf testdb && mkdir testdb
|
||||
@@ -63,20 +64,24 @@ test: all
|
||||
@@ -64,20 +65,24 @@ test: all
|
||||
liblmdb.a: mdb.o midl.o
|
||||
$(AR) rs $@ mdb.o midl.o
|
||||
|
||||
-liblmdb.so: mdb.lo midl.lo
|
||||
+liblmdb.so: liblmdb.so.$(SOVERSION)
|
||||
-liblmdb$(SOEXT): mdb.lo midl.lo
|
||||
+liblmdb$(SOEXT): liblmdb$(SOEXT).$(SOVERSION)
|
||||
+ rm -f $@
|
||||
+ ln -s $< $@
|
||||
+
|
||||
+liblmdb.so.$(SOVERSION): mdb.lo midl.lo
|
||||
+liblmdb$(SOEXT).$(SOVERSION): mdb.lo midl.lo
|
||||
# $(CC) $(LDFLAGS) -pthread -shared -Wl,-Bsymbolic -o $@ mdb.o midl.o $(SOLIBS)
|
||||
- $(CC) $(LDFLAGS) -pthread -shared -o $@ mdb.lo midl.lo $(SOLIBS)
|
||||
+ $(CC) $(LDFLAGS) -pthread -shared -Wl,-soname,$@ -o $@ mdb.lo midl.lo $(SOLIBS)
|
||||
|
@ -2,7 +2,7 @@
|
||||
%global archive_path libraries/lib%{name}
|
||||
|
||||
Name: lmdb
|
||||
Version: 0.9.18
|
||||
Version: 0.9.19
|
||||
Release: 1%{?dist}
|
||||
Summary: Memory-mapped key-value database
|
||||
|
||||
@ -109,6 +109,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 04 2017 Jan Stanek <jstanek@redhat.com> - 0.9.19-1
|
||||
- Update to 0.9.19
|
||||
|
||||
* Wed Feb 10 2016 Jan Stanek <jstanek@redhat.com> - 0.9.18-1
|
||||
- Update to 0.9.18
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user