[packages/gdbm18] Rel 3
arekm
arekm at pld-linux.org
Sun Aug 23 14:30:44 CEST 2026
commit b4103c4dde367c0d31fdde4ccc884a78ebe0084c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Aug 23 14:30:35 2026 +0200
Rel 3
gdbm18-info.patch | 39 ---------------------------------------
gdbm18-linking.patch | 4 ++--
gdbm18.spec | 23 ++++++++---------------
3 files changed, 10 insertions(+), 56 deletions(-)
---
diff --git a/gdbm18.spec b/gdbm18.spec
index 8aad62f..6e27d55 100644
--- a/gdbm18.spec
+++ b/gdbm18.spec
@@ -6,20 +6,18 @@ Summary(ru.UTF-8): Библиотека базы данных GNU для C v1.8
Summary(uk.UTF-8): Бібліотека бази даних GNU для C v1.8
Name: gdbm18
Version: 1.8.3
-Release: 2
+Release: 3
License: GPL v2+
Group: Libraries
-Source0: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
+Source0: https://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Source0-md5: 1d1b1d5c0245b1c00aff92da751e9aa1
-Patch0: %{name}-info.patch
-Patch1: %{name}-jbj.patch
-Patch2: %{name}-linking.patch
-Patch3: %{name}-link-compat.patch
-Patch4: %{name}-make-jN.patch
+Patch0: %{name}-jbj.patch
+Patch1: %{name}-linking.patch
+Patch2: %{name}-link-compat.patch
+Patch3: %{name}-make-jN.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: texinfo
Obsoletes: libgdbm2
Obsoletes: gdbm < 1.9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -89,13 +87,14 @@ Biblioteki statyczne gdbm 1.8.
%patch -P1 -p1
%patch -P2 -p1
%patch -P3 -p1
-%patch -P4 -p1
%build
%{__libtoolize}
%{__aclocal}
%{__autoheader}
%{__autoconf}
+# K&R-era source: calls through unprototyped function pointers are errors under the C23 default
+CFLAGS="%{rpmcflags} -std=gnu17"
%configure
%{__make}
@@ -124,12 +123,6 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%post devel -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
-%postun devel -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
-
%files
%defattr(644,root,root,755)
%doc ChangeLog NEWS README
diff --git a/gdbm18-info.patch b/gdbm18-info.patch
deleted file mode 100644
index 2269ccf..0000000
--- a/gdbm18-info.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- gdbm-1.8.3/gdbm.texinfo.orig Tue Oct 15 23:59:38 2002
-+++ gdbm-1.8.3/gdbm.texinfo Tue Dec 24 23:43:32 2002
-@@ -2,9 +2,9 @@
- @comment %**start of header (This is for running Texinfo on a region.)
- @setfilename gdbm.info
- @settitle gdbm
-- at dircategory Programming & development tools
-+ at dircategory Libraries:
- @direntry
--* GDBM: (gdbm). The GNU database manager.
-+* GDBM: (gdbm). The GNU database manager
- @end direntry
- @c @setchapternewpage odd
- @comment %**end of header (This is for running Texinfo on a region.)
-@@ -39,7 +39,6 @@
- @end ifinfo
-
- @titlepage
-- at null
- @sp 6
- @center @titlefont{GNU dbm}
- @sp 2
-@@ -53,7 +52,6 @@
- @sp 1
- @center for GNU @code{dbm}, Version 1.8.3.
- @page
-- at null
- @vskip 0pt plus 1filll
- Copyright @copyright{} 1993-99 Free Software Foundation, Inc.
- @sp 2
-@@ -546,7 +544,7 @@
-
- The appropiate phrase for reading by humans is returned.
-
-- at node Options, Locking, Errors, top
-+ at node Options, Locking, Errors, Top
- @chapter Seting options.
-
- @code{Gdbm} supports the ability to set certain options on an already
diff --git a/gdbm18-linking.patch b/gdbm18-linking.patch
index fa3daaf..2c88f2b 100644
--- a/gdbm18-linking.patch
+++ b/gdbm18-linking.patch
@@ -16,8 +16,8 @@
- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
$(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
- $(INSTALL_ROOT)$(includedir)/dbm.h
+ $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
+ $(INSTALL_ROOT)$(includedir)/dbm.h
@@ -155,12 +155,12 @@
libgdbm.la: $(LOBJS) gdbm.h
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gdbm18.git/commitdiff/b4103c4dde367c0d31fdde4ccc884a78ebe0084c
More information about the pld-cvs-commit
mailing list