From ff98c52f719eca66d9542913e330c1ea6535f3db Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:20:41 +0100 Subject: [PATCH] gcc 10 fix [release 1.18.1-2mamba;Wed Nov 25 2020] --- libgdbm.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libgdbm.spec b/libgdbm.spec index dfb205b..febd512 100644 --- a/libgdbm.spec +++ b/libgdbm.spec @@ -1,6 +1,6 @@ Name: libgdbm Version: 1.18.1 -Release: 1mamba +Release: 2mamba Summary: A set of database routines that use extensible hashing Group: System/Libraries Vendor: openmamba @@ -10,10 +10,10 @@ URL: http://www.gnu.org/software/gdbm/ Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz Patch: %{name}-1.8.3-Makefile.patch License: LGPL -Requires(post):%{__install_info} ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END +Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -36,11 +36,15 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. +%debug_package + %prep %setup -q -n gdbm-%{version} #%patch -p1 # Fix permissions chmod 644 ChangeLog COPYING NEWS README +# Fix with gcc 10 +sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c %build %configure @@ -90,6 +94,9 @@ exit 0 %{_mandir}/man1/gdbmtool.1* %changelog +* Wed Nov 25 2020 Silvan Calarco 1.18.1-2mamba +- gcc 10 fix + * Sun Nov 11 2018 Automatic Build System 1.18.1-1mamba - automatic version update by autodist