packaging: fix date
the actual date is the commit date
@@ -12,7 +12,8 @@ cd $(dirname $0)
YEAR=$(date +%Y)
VERSION=$(cat ../../VERSION)
-VERSION="${VERSION%+*}+$(date +%Y%m%d).$(git rev-parse --short HEAD)"
+COMMIT_UNIX_TIME=$(git show -s --format=%ct)
+VERSION="${VERSION%+*}+$(date -d @$COMMIT_UNIX_TIME +%Y%m%d).$(git rev-parse --short HEAD)"
NAME=$1
cat <<EOF > ${NAME}.spec
