gcc 10 fix [release 1.18.1-2mamba;Wed Nov 25 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:20:41 +01:00
parent 3462c4054f
commit ff98c52f71

View File

@ -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 <silvan.calarco@mambasoft.it> 1.18.1-2mamba
- gcc 10 fix
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist