Accepting request 403644 from systemsmanagement

1

OBS-URL: https://build.opensuse.org/request/show/403644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lmdb?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2016-06-29 13:03:00 +00:00 committed by Git OBS Bridge
commit ae8eefad1c
4 changed files with 17 additions and 18 deletions

View File

@ -352,19 +352,3 @@ index 000000000000..1137d8dc388a
+
+ return 1;
+}
diff --git a/libraries/liblmdb/mdb_copy.c b/libraries/liblmdb/mdb_copy.c
index f37ccbcc213e..bbe43bf601ae 100644
--- a/libraries/liblmdb/mdb_copy.c
+++ b/libraries/liblmdb/mdb_copy.c
@@ -32,7 +32,7 @@ int main(int argc,char * argv[])
int rc;
MDB_env *env;
const char *progname = argv[0], *act;
- unsigned flags = MDB_RDONLY;
+ unsigned flags = MDB_NOSUBDIR|MDB_RDONLY;
unsigned cpflags = 0;
for (; argc > 1 && argv[1][0] == '-'; argc--, argv++) {
--
2.7.0

View File

@ -135,17 +135,21 @@ new file mode 100644
index 000000000000..d3a4a4c99c5d
--- /dev/null
+++ b/libraries/liblmdb/Makefile.am
@@ -0,0 +1,11 @@
@@ -0,0 +1,15 @@
+lib_LTLIBRARIES = liblmdb.la
+liblmdb_la_SOURCES = mdb.c midl.c
+liblmdb_la_LDFLAGS=-no-undefined -avoid-version
+
+bin_PROGRAMS = mdb_stat mdb_copy lmdump lmmgr
+bin_PROGRAMS = mdb_stat mdb_copy mdb_load mdb_dump lmdump lmmgr
+mdb_stat_LDADD = liblmdb.la
+mdb_copy_LDADD = liblmdb.la
+mdb_load_LDADD = liblmdb.la
+mdb_dump_LDADD = liblmdb.la
+lmdump_LDADD = liblmdb.la
+lmmgr_LDADD = liblmdb.la
+
+man_MANS = mdb_stat.1 mdb_copy.1 mdb_load.1 mdb_dump.1
+
+include_HEADERS = lmdb.h
diff --git a/libraries/liblmdb/configure.ac b/libraries/liblmdb/configure.ac
new file mode 100644

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
-------------------------------------------------------------------
Sun Jun 19 01:07:37 UTC 2016 - stefan.bruens@rwth-aachen.de
- Update 0001-Add-extra-tools-and-CFEngine-modifications-for-LMDB.patch
* do not force enable NOSUBDIR option in mdb_copy
- Update 0002-Autoconf-files.patch
* build mdb_dump, mdb_load
* distribute manpages
-------------------------------------------------------------------
Mon Feb 1 13:01:34 UTC 2016 - kkaempf@suse.com

View File

@ -110,6 +110,7 @@ rm -f "%buildroot/%_libdir"/*.la
%doc libraries/liblmdb/COPYRIGHT
%doc libraries/liblmdb/LICENSE
%{_bindir}/*
%doc %{_mandir}/man1/*.1.gz
%files -n %lname
%defattr(-,root,root)