From 7d1a3678e59dca54180cba43772f8be543032df2 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Tue, 21 Mar 2023 20:23:41 +0100 Subject: [PATCH] libdb: Switch to patchelf to remove the RPATH Signed-off-by: Stefan Schantl --- libdb/libdb.nm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libdb/libdb.nm b/libdb/libdb.nm index 08d60a401..13c2c91a5 100644 --- a/libdb/libdb.nm +++ b/libdb/libdb.nm @@ -8,7 +8,7 @@ version_major = 6 version_minor = 1 version_patch = 26 version = %{version_major}.%{version_minor}.%{version_patch} -release = 4 +release = 5 thisapp = db-%{version} soversion = %{version_major}.%{version_minor} @@ -29,9 +29,9 @@ source_dl = http://download.oracle.com/berkeley-db/ build requires automake - chrpath gcc-c++ libtool + patchelf perl zlib-devel end @@ -71,7 +71,7 @@ build install_cmds # Remove RPATH in all binaries. for i in %{BUILDROOT}%{bindir}/*; do - chrpath --delete ${i} + patchelf --remove-rpath ${i} done # Remove documentation which is very big. -- 2.47.3