[gdbm] Upgrade to gdbm-1.11
Honza Horak
hhorak at fedoraproject.org
Wed Mar 5 11:53:17 UTC 2014
commit be77d3aad1d35acd7308aa9d780212022eb90bfa
Author: Honza Horak <hhorak at redhat.com>
Date: Wed Mar 5 12:51:26 2014 +0100
Upgrade to gdbm-1.11
Resolves: #1046643
.gitignore | 1 +
gdbm-aarch64.patch | 1144 ----------------------------------------------------
gdbm-sa1.patch | 343 ----------------
gdbm.spec | 20 +-
sources | 2 +-
5 files changed, 15 insertions(+), 1495 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 36e111a..2064d33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
gdbm-1.8.3.tar.gz
/gdbm-1.9.1.tar.gz
/gdbm-1.10.tar.gz
+/gdbm-1.11.tar.gz
diff --git a/gdbm.spec b/gdbm.spec
index 35b87f4..9a0b69a 100644
--- a/gdbm.spec
+++ b/gdbm.spec
@@ -1,8 +1,8 @@
%bcond_with largefile
Summary: A GNU set of database routines which use extensible hashing
Name: gdbm
-Version: 1.10
-Release: 7%{?dist}
+Version: 1.11
+Release: 1%{?dist}
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content
# to database files.
@@ -14,8 +14,6 @@ Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208927
Patch0: gdbm-1.10-zeroheaders.patch
Patch1: gdbm-1.10-fedora.patch
-Patch2: gdbm-sa1.patch
-Patch3: gdbm-aarch64.patch
License: GPLv3+
URL: http://www.gnu.org/software/gdbm/
Group: System Environment/Libraries
@@ -52,8 +50,6 @@ gdbm database library. You'll also need to install the gdbm package.
%setup -q
%patch0 -p1 -b .zeroheaders
%patch1 -p1 -b .fedora
-%patch2 -p1 -b .sa1
-%patch3 -p1 -b .aarch64
%build
%configure \
@@ -61,6 +57,10 @@ gdbm database library. You'll also need to install the gdbm package.
%{!?with_largefile: --disable-largefile} \
--enable-libgdbm-compat
+# get rid of rpath (as per https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath)
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+
make %{?_smp_mflags}
%install
@@ -80,6 +80,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm_compat.la
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
%check
+export LD_LIBRARY_PATH=`pwd`/src/.libs/
make check
%post -p /sbin/ldconfig
@@ -100,7 +101,8 @@ fi
%doc COPYING NEWS README THANKS AUTHORS NOTE-WARNING
%{_libdir}/libgdbm.so.4*
%{_libdir}/libgdbm_compat.so.4*
-%{_bindir}/testgdbm
+%{_bindir}/gdbm*
+%{_mandir}/man1/gdbm*
%files devel
%{_libdir}/libgdbm.so
@@ -110,6 +112,10 @@ fi
%{_mandir}/man3/*
%changelog
+* Wed Mar 05 2014 Honza Horak <hhorak at redhat.com> - 1.11-1
+- Upgrade to gdbm-1.11
+ Resolves: #1046643
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 26dd0f9..bb11801 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-88770493c2559dc80b561293e39d3570 gdbm-1.10.tar.gz
+72c832680cf0999caedbe5b265c8c1bd gdbm-1.11.tar.gz
More information about the scm-commits
mailing list