Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
name = libldb
version = 2.6.1
-release = 1.1
+release = 2
thisapp = ldb-%{version}
groups = System/Libraries
build
requires
- chrpath
cmocka-devel
docbook-utils
docbook-xsl
libtirpc-devel
libxcrypt-devel
lmdb-devel >= 0.9.16
+ patchelf
popt-devel
python3-devel
python3-talloc
install_cmds
# Remove rpath from binaries.
- chrpath --delete %{BUILDROOT}%{bindir}/*
+ find %{BUILDROOT}%{bindir} -type f -executable \
+ -exec patchelf --remove-rpath {} \;
end
end