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 Name: libgdbm
Version: 1.18.1 Version: 1.18.1
Release: 1mamba Release: 2mamba
Summary: A set of database routines that use extensible hashing Summary: A set of database routines that use extensible hashing
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -10,10 +10,10 @@ URL: http://www.gnu.org/software/gdbm/
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
Patch: %{name}-1.8.3-Makefile.patch Patch: %{name}-1.8.3-Makefile.patch
License: LGPL License: LGPL
Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -36,11 +36,15 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools %description tools
This package contains utility applications for %{name}. This package contains utility applications for %{name}.
%debug_package
%prep %prep
%setup -q -n gdbm-%{version} %setup -q -n gdbm-%{version}
#%patch -p1 #%patch -p1
# Fix permissions # Fix permissions
chmod 644 ChangeLog COPYING NEWS README chmod 644 ChangeLog COPYING NEWS README
# Fix with gcc 10
sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c
%build %build
%configure %configure
@ -90,6 +94,9 @@ exit 0
%{_mandir}/man1/gdbmtool.1* %{_mandir}/man1/gdbmtool.1*
%changelog %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 * Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 1.18.1-1mamba
- automatic version update by autodist - automatic version update by autodist