[education/rkward] rkward/rbackend/rpackages: Reproducible Builds: Do not embed user id and user name

Carina Odenbreit null at kde.org
Thu Aug 5 20:37:23 BST 2021


Git commit 6dd95d2aea5fcc0ea67c14c0d8684fc4042090d6 by Carina Odenbreit.
Committed on 31/07/2021 at 14:39.
Pushed by tfry into branch 'master'.

Reproducible Builds: Do not embed user id and user name

M  +1    -1    rkward/rbackend/rpackages/CMakeLists.txt

https://invent.kde.org/education/rkward/commit/6dd95d2aea5fcc0ea67c14c0d8684fc4042090d6

diff --git a/rkward/rbackend/rpackages/CMakeLists.txt b/rkward/rbackend/rpackages/CMakeLists.txt
index a50d742b..e6de6f61 100644
--- a/rkward/rbackend/rpackages/CMakeLists.txt
+++ b/rkward/rbackend/rpackages/CMakeLists.txt
@@ -1,7 +1,7 @@
 MACRO(createRpackage name)
 	FILE(GLOB_RECURSE rkwardfiles${name} LIST_DIRECTORIES true CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${name}/*")
 	ADD_CUSTOM_COMMAND(OUTPUT ${name}.tgz
-		COMMAND ${CMAKE_COMMAND} -E tar "cfz" "${CMAKE_CURRENT_BINARY_DIR}/${name}.tgz" "${name}"
+		COMMAND tar "cfz" "${CMAKE_CURRENT_BINARY_DIR}/${name}.tgz" "--owner=0" "--group=0" "--numeric-owner" "${name}"
 		WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
 		DEPENDS ${rkwardfiles${name}})
 ENDMACRO()


More information about the rkward-tracker mailing list