[gdbm/f20] Removed Rpath
Marek Skalický
mskalick at fedoraproject.org
Mon Oct 20 15:02:14 UTC 2014
commit 6bcc1074c1680bb6a74f69aca27543457db27501
Author: Marek Skalický <mskalick at redhat.com>
Date: Mon Oct 20 17:02:01 2014 +0200
Removed Rpath
gdbm.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gdbm.spec b/gdbm.spec
index 35b87f4..2c862cc 100644
--- a/gdbm.spec
+++ b/gdbm.spec
@@ -2,7 +2,7 @@
Summary: A GNU set of database routines which use extensible hashing
Name: gdbm
Version: 1.10
-Release: 7%{?dist}
+Release: 8%{?dist}
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
# Prevent gdbm from storing uninitialized memory content
# to database files.
@@ -61,6 +61,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
@@ -110,6 +114,9 @@ fi
%{_mandir}/man3/*
%changelog
+* Mon Oct 20 2014 Marek Skalicky <mskalicky at redhat.com> - 1.10-8
+- Removed Rpath (#1154644)
+
* 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
More information about the scm-commits
mailing list