brp-debuginfo: preserve timestamps

This commit is contained in:
Alexey Tourbin 2011-01-30 03:35:57 +03:00
parent 4bdee95777
commit f41c1bffca

View File

@ -27,8 +27,10 @@ while read -r nlink ino f; do
eval f0_$ino="\$f"
fi
fi
touch -r "$f" .tmp/stamp
@RPMCONFIGDIR@/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug -l .tmp/src "$f"
eu-strip --remove-comment -f "$debugf" "$f"
touch -r .tmp/stamp "$debugf" "$f"
chmod 644 "$debugf"
mkdir -p .debuginfo/src/"${debugf%/*}"
awk 'BEGIN{RS="\0";ORS="\n"}{print}' .tmp/src |LC_ALL=C sort -u |