diff --git a/gdbm-1.19.tar.gz b/gdbm-1.19.tar.gz deleted file mode 100644 index 36e5700..0000000 --- a/gdbm-1.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37ed12214122b972e18a0d94995039e57748191939ef74115b1d41d8811364bc -size 967861 diff --git a/gdbm-1.19.tar.gz.sig b/gdbm-1.19.tar.gz.sig deleted file mode 100644 index c8dc7b7..0000000 --- a/gdbm-1.19.tar.gz.sig +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iEYEABECAAYFAl/jO/EACgkQNgKwf1XQxzJYOwCfRCxw6MmWv8ekLB4/itNikSHP -BeMAnjAhLHtoG+n2o3ifdMWgYkSW/+dw -=7MA5 ------END PGP SIGNATURE----- diff --git a/gdbm-1.20.tar.gz b/gdbm-1.20.tar.gz new file mode 100644 index 0000000..62dd000 --- /dev/null +++ b/gdbm-1.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3aeac05648b3482a10a2da986b9f3a380a29ad650be80b9817a435fb8114a292 +size 987628 diff --git a/gdbm-1.20.tar.gz.sig b/gdbm-1.20.tar.gz.sig new file mode 100644 index 0000000..63bbaca --- /dev/null +++ b/gdbm-1.20.tar.gz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1 + +iEYEABECAAYFAmDLI6AACgkQNgKwf1XQxzJeIgCdE68/Oclk2DaZ5edqmUolawHi +EhwAoIPOnWpnx/PVewnu2QqDh5w/DBHa +=U7eB +-----END PGP SIGNATURE----- diff --git a/gdbm-no-build-date.patch b/gdbm-no-build-date.patch index 2129010..0dfbcb1 100644 --- a/gdbm-no-build-date.patch +++ b/gdbm-no-build-date.patch @@ -1,11 +1,11 @@ -Index: gdbm-1.19/src/version.c +Index: gdbm-1.20/src/version.c =================================================================== ---- gdbm-1.19.orig/src/version.c 2020-12-28 14:02:20.065391921 +0100 -+++ gdbm-1.19/src/version.c 2020-12-28 14:03:54.389977011 +0100 -@@ -25,9 +25,6 @@ +--- gdbm-1.20.orig/src/version.c 2021-08-09 16:11:00.444941421 +0200 ++++ gdbm-1.20/src/version.c 2021-08-09 16:11:18.649067219 +0200 +@@ -24,9 +24,6 @@ making the distdir. */ const char * gdbm_version = "GDBM version " PACKAGE_VERSION ". " - "23/12/2020" + "17/06/2021" -#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) - " (built " __DATE__ " " __TIME__ ")" -#endif diff --git a/gdbm.changes b/gdbm.changes index f9580b1..23afb17 100644 --- a/gdbm.changes +++ b/gdbm.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Mon Aug 9 14:12:45 UTC 2021 - pgajdos@suse.com + +- version update to 1.20 + * New bucket cache + The bucket cache support has been rewritten from scratch. The new + bucket cache code provides for significant speed up of search + operations. + * Change mmap prereading strategy + Pre-reading of the memory mapper regions, introduced in version 1.19 + can be advantageous only when doing intensive look-ups on a read-only + database. It degrades performance otherwise, especially if doing + multiple inserts. Therefore, this version introduces a new flag + to gdbm_open: GDBM_PREREAD. When given, it enables pre-reading of + memory mapped regions. +- modified patches + % gdbm-no-build-date.patch (refreshed) + ------------------------------------------------------------------- Mon Dec 28 13:27:28 UTC 2020 - pgajdos@suse.com diff --git a/gdbm.spec b/gdbm.spec index ff9fecb..8063d7e 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -1,7 +1,7 @@ # # spec file for package gdbm # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define lname libgdbm6 %define lcompat libgdbm_compat4 Name: gdbm -Version: 1.19 +Version: 1.20 Release: 0 Summary: GNU dbm key/data database License: GPL-3.0-or-later @@ -97,7 +97,7 @@ Requires: %{lcompat} = %{version} Requires: %{lname} = %{version} %if "%{install_info_prereq}" != "" Requires(pre): %{install_info_prereq} -Requires(preun): %{install_info_prereq} +Requires(preun):%{install_info_prereq} %endif %description devel