build
requires
bison
- chrpath
expat-devel
glib2-devel
libunistring-devel
libxml2-devel
ncurses-devel
+ patchelf
end
configure_options += \
# cleanup rpaths
for i in $(find %{BUILDROOT}%{bindir} %{BUILDROOT}%{libdir} -type f); do
if file ${i} | grep "ELF 64-bit" >/dev/null; then
- chrpath -l ${i} && chrpath --delete ${i}
+ patchelf --remove-rpath ${i}
fi
done