• Jonas Witschel's avatar
    doc: use localdate instead of pacman_date to improve reproducibility · b4383b8d
    Jonas Witschel authored and Allan McRae's avatar Allan McRae committed
    pacman_date is set to the current date during build without respecting
    SOURCE_DATE_EPOCH. As a result, a build cannot be fully reproduced on a later
    date because the date embedded into the man pages does not match.
    In contrast, the built-in asciidoc attribute "localdate" respects
    SOURCE_DATE_EPOCH and has the desired ISO 8601 format, so simply use that
    instead of the custom "pacman_date" attribute.
    Fixes: FS#71154
    Signed-off-by: Jonas Witschel <diabonas at archlinux.org>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>