diff --git a/0001-Add-extra-tools-and-CFEngine-modifications-for-LMDB.patch b/0001-Add-extra-tools-and-CFEngine-modifications-for-LMDB.patch index 9142fbc..d5b1c61 100644 --- a/0001-Add-extra-tools-and-CFEngine-modifications-for-LMDB.patch +++ b/0001-Add-extra-tools-and-CFEngine-modifications-for-LMDB.patch @@ -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 - diff --git a/0002-Autoconf-files.patch b/0002-Autoconf-files.patch index 43b1c37..f04369a 100644 --- a/0002-Autoconf-files.patch +++ b/0002-Autoconf-files.patch @@ -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 diff --git a/lmdb.changes b/lmdb.changes index 3b18814..9ddaa14 100644 --- a/lmdb.changes +++ b/lmdb.changes @@ -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 diff --git a/lmdb.spec b/lmdb.spec index b354c2e..2c27212 100644 --- a/lmdb.spec +++ b/lmdb.spec @@ -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)