]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
libdb: Switch to patchelf to remove the RPATH
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:23:41 +0000 (20:23 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Mar 2023 19:23:41 +0000 (20:23 +0100)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
libdb/libdb.nm

index 08d60a401a5ff55aa42b11174e6153ca92ab1268..13c2c91a59d777a9d9bcedb99bb5ba38eef613cb 100644 (file)
@@ -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.