rpm: fix rpmquery/rpmverify symlinks

This commit is contained in:
Jörg Thalheim 2017-04-15 10:23:24 +02:00
parent fed7d4a6e9
commit d5afba485b
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
for tool in ld nm objcopy objdump strip; do
sed -i $out/lib/rpm/macros -e "s/^%__$tool.*/%__$tool $tool/"
done
# symlinks produced by build are incorrect
ln -sf $out/bin/{rpm,rpmquery}
ln -sf $out/bin/{rpm,rpmverify}
'';
meta = with stdenv.lib; {