Source: kapptemplate Version: 4:15.08.3-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: username X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the “reproducible builds” effort [1], we have noticed that kapptemplate could not be built reproducibly. The attached patch sets the tar command to use Add --owner=root --group=root --numeric-owner to tar command line to make build reproducible. Cheers, Scarlett [1]: https://wiki.debian.org/ReproducibleBuilds
Description: Make build reproducible. Add --owner=root --group=root --numeric-owner to tar command line to make build reproducible. Forwarded: No Author: Scarlett Clark <sgcl...@kubuntu.org> --- a/cmake/modules/KAppTemplateMacro.cmake +++ b/cmake/modules/KAppTemplateMacro.cmake @@ -36,7 +36,7 @@ macro(kapptemplate_add_app_templates _templateNames) else(WIN32) add_custom_command(OUTPUT ${_template} COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} - --exclude .kdev_ignore --exclude .svn + --exclude .kdev_ignore --exclude .svn --owner=root --group=root --numeric-owner -j -f ${_template} . DEPENDS ${_deps} )