Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/gdbm.git#fc725dab544359b761f00cc2c41321342b243e9e
This commit is contained in:
DistroBaker 2021-01-05 12:30:03 +00:00
parent 574001967a
commit 037d5e1deb
4 changed files with 9 additions and 25 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/gdbm-1.17.tar.gz /gdbm-1.17.tar.gz
/gdbm-1.18.tar.gz /gdbm-1.18.tar.gz
/gdbm-1.18.1.tar.gz /gdbm-1.18.1.tar.gz
/gdbm-1.19.tar.gz

View File

@ -2,8 +2,8 @@
Summary: A GNU set of database routines which use extensible hashing Summary: A GNU set of database routines which use extensible hashing
Name: gdbm Name: gdbm
Version: 1.18.1 Version: 1.19
Release: 5%{?dist} Release: 1%{?dist}
Epoch: 1 Epoch: 1
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/gdbm/ URL: http://www.gnu.org/software/gdbm/
@ -14,9 +14,7 @@ BuildRequires: gcc
BuildRequires: libtool BuildRequires: libtool
BuildRequires: gettext BuildRequires: gettext
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: make
Patch0:gdbm_gcc_10.patch
# when -libs subpkg was introduced # when -libs subpkg was introduced
Obsoletes: gdbm < 1:1.14.1-4 Obsoletes: gdbm < 1:1.14.1-4
@ -59,8 +57,6 @@ gdbm database library. You'll also need to install the gdbm package.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
@ -116,6 +112,10 @@ make check
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Tue Jan 5 2021 Filip Januš <fjanus@redhat.com> - 1.19-1
- Rebase to latest release 1.19
- Remove gdbm_gcc_10.patch no more necessary
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.18.1-5 * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.18.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

View File

@ -1,17 +0,0 @@
Author:Filip Januš <fjanus@redhat.com>
Date: 7.2.2020
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1799391
After upgrade gcc to version gcc version 10.0.1 20200130 (Red Hat 10.0.1-0.7) (GCC) is not possible to build GDBM
diff -ur gdbm-1.18.1/src/parseopt.c gdbm-1.18.1_new/src/parseopt.c
--- gdbm-1.18.1/src/parseopt.c 2018-05-30 11:39:15.000000000 +0200
+++ gdbm-1.18.1_new/src/parseopt.c 2020-02-07 20:36:37.226390871 +0100
@@ -255,8 +255,6 @@
}
char *parseopt_program_name;
-char *parseopt_program_doc;
-char *parseopt_program_args;
const char *program_bug_address = "<" PACKAGE_BUGREPORT ">";
void (*parseopt_help_hook) (FILE *stream);

View File

@ -1 +1 @@
SHA512 (gdbm-1.18.1.tar.gz) = adf9d6c5bc843ff0d7f88c2a1667d509973b2d63378d0001d7e74cc10aee6ea498a4513cc88ddf78c32ba4db5cb040b2794f4f1b3338c65d9894058850e2f5ef SHA512 (gdbm-1.19.tar.gz) = 118c5b8cdf74898bfb7c2100302fedf80096be017bf08e80a44486563cad5d93b93567622f2e7c7aceb72f30460504bd0b4ddfccf34df994ed65166e12ecd495