libdb: Switch to patchelf to remove the RPATH

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl 2023-03-21 20:23:41 +01:00
parent b9dbe6d36d
commit 7d1a3678e5
1 changed files with 3 additions and 3 deletions

View 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.