diff -Nru extra-cmake-modules-5.23.0/debian/changelog extra-cmake-modules-5.23.0/debian/changelog --- extra-cmake-modules-5.23.0/debian/changelog 2016-06-17 07:25:52.000000000 -0700 +++ extra-cmake-modules-5.23.0/debian/changelog 2016-06-22 10:02:15.000000000 -0700 @@ -1,3 +1,10 @@ +extra-cmake-modules (5.23.0-1.0~reproducible1) UNRELEASED; urgency=medium + + * Patch kapptemplate macro to fix umask and user goupr issue for reproducible + build. + + -- Scarlett Clark Wed, 22 Jun 2016 10:01:28 -0700 + extra-cmake-modules (5.23.0-1) unstable; urgency=medium [ Automatic packaging ] diff -Nru extra-cmake-modules-5.23.0/debian/patches/series extra-cmake-modules-5.23.0/debian/patches/series --- extra-cmake-modules-5.23.0/debian/patches/series 2016-06-17 07:25:52.000000000 -0700 +++ extra-cmake-modules-5.23.0/debian/patches/series 2016-06-22 17:17:34.000000000 -0700 @@ -1 +1,3 @@ force_relative_paths.diff +upstream_tar_command_reproducible.patch + diff -Nru extra-cmake-modules-5.23.0/debian/patches/upstream_tar_command_reproducible.patch extra-cmake-modules-5.23.0/debian/patches/upstream_tar_command_reproducible.patch --- extra-cmake-modules-5.23.0/debian/patches/upstream_tar_command_reproducible.patch 1969-12-31 16:00:00.000000000 -0800 +++ extra-cmake-modules-5.23.0/debian/patches/upstream_tar_command_reproducible.patch 2016-06-23 11:12:50.000000000 -0700 @@ -0,0 +1,15 @@ +diff --git a/kde-modules/KDEPackageAppTemplates.cmake b/kde-modules/KDEPackageAppTemplates.cmake +index c0eb8b9..09d2cae 100644 +--- a/kde-modules/KDEPackageAppTemplates.cmake ++++ b/kde-modules/KDEPackageAppTemplates.cmake +@@ -112,7 +112,9 @@ function(kde_package_app_templates) + add_custom_target(${_baseName} ALL DEPENDS ${_template}) + + add_custom_command(OUTPUT ${_template} +- COMMAND ${CMAKE_COMMAND} -E tar "cvfj" ${_template} . ++ COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} ++ --exclude .kdev_ignore --exclude .svn --mode=go=rX,u+rw,a-s --owner=root ++ --group=root --numeric-owner -j -f ${_template} . + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} + ) +