+++ /dev/null
---- gdbm-1.13/export/export.c.orig 2017-01-02 12:51:49.000000000 +0100
-+++ gdbm-1.13/export/export.c 2017-04-10 21:29:05.764751534 +0200
-@@ -23,6 +23,7 @@
-
- #include <gdbm.h>
-
-+#define GDBM_EXPORT_18
- /* Pull in gdbm_export() */
- #include "gdbmexp.c"
-
---- gdbm-1.13/src/gdbmexp.c.orig 2017-01-02 12:51:49.000000000 +0100
-+++ gdbm-1.13/src/gdbmexp.c 2017-04-10 21:35:32.624747118 +0200
-@@ -21,8 +21,13 @@
- # include "autoconf.h"
- # include <arpa/inet.h>
-
-+#ifdef GDBM_EXPORT_18
-+# define GDBM_SET_ERRNO(dbf, ec, fatal) gdbm_errno = ec
-+# define GDBM_ASSERT_CONSISTENCY(dbf, val)
-+#else
- # include "gdbmdefs.h"
- # include "gdbm.h"
-+#endif
-
- int
- gdbm_export_to_file (GDBM_FILE dbf, FILE *fp)
Summary(ru.UTF-8): Библиотека базы данных GNU для C
Summary(uk.UTF-8): Бібліотека бази даних GNU для C
Name: gdbm
-Version: 1.13
+Version: 1.14.1
Release: 1
License: GPL v3+
Group: Libraries
Source0: http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
-# Source0-md5: 8929dcda2a8de3fd2367bdbf66769376
+# Source0-md5: c2ddcb3897efa0f57484af2bd4f4f848
Patch0: %{name}-info.patch
Patch1: %{name}-link-compat.patch
-Patch2: %{name}-export.patch
-Patch3: %{name}-link.patch
+Patch2: %{name}-link.patch
URL: http://www.gnu.org/software/gdbm/
BuildRequires: autoconf >= 2.69
BuildRequires: automake >= 1:1.11
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
%build
%{__libtoolize}
%attr(755,root,root) %{_bindir}/gdbm_load
%attr(755,root,root) %{_bindir}/gdbmtool
%attr(755,root,root) %{_libdir}/libgdbm.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgdbm.so.4
+%attr(755,root,root) %ghost %{_libdir}/libgdbm.so.5
%attr(755,root,root) %{_libdir}/libgdbm_compat.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgdbm_compat.so.4
%{_mandir}/man1/gdbm_dump.1*