Sorry, meant to send debdiff and not the actual patch.
diff -Nru kdevplatform-1.7.2/debian/changelog kdevplatform-1.7.2/debian/changelog --- kdevplatform-1.7.2/debian/changelog 2016-01-21 12:44:11.000000000 -0800 +++ kdevplatform-1.7.2/debian/changelog 2016-02-26 13:41:38.000000000 -0800 @@ -1,3 +1,12 @@ +kdevplatform (1.7.2-1.0~reproducible1) UNRELEASED; urgency=medium + + * Add flags to tar command in template creation macro + to address usersandgroupsintar preventing + a reproducible build for kdevelop. + * Use unstable for local upload. + + -- Scarlett Clark <sgcl...@kubuntu.org> Wed, 24 Feb 2016 10:42:31 -0800 + kdevplatform (1.7.2-1) unstable; urgency=medium * Team upload. diff -Nru kdevplatform-1.7.2/debian/patches/fix_umask_for_reproducible_build.patch kdevplatform-1.7.2/debian/patches/fix_umask_for_reproducible_build.patch --- kdevplatform-1.7.2/debian/patches/fix_umask_for_reproducible_build.patch 1969-12-31 16:00:00.000000000 -0800 +++ kdevplatform-1.7.2/debian/patches/fix_umask_for_reproducible_build.patch 2016-02-24 11:59:39.000000000 -0800 @@ -0,0 +1,20 @@ +Description: Add --mode=go=rX,u+rw,a-s to tar command line. + To fix buid reproducibility. +Forwarded: TBD +Author: Scarlett Clark <sgclark-gu...@users.alioth.debian.org> + +diff --git a/cmake/modules/KDevPlatformMacros.cmake b/cmake/modules/KDevPlatformMacros.cmake +index f27066a..4a24e35 100644 +--- a/cmake/modules/KDevPlatformMacros.cmake ++++ b/cmake/modules/KDevPlatformMacros.cmake +@@ -52,8 +52,8 @@ macro(kdevplatform_create_template_archive _templateName) + else(WIN32) + add_custom_command(OUTPUT ${_template} + COMMAND tar ARGS -c -C ${CMAKE_CURRENT_SOURCE_DIR}/${_templateName} +- --exclude .kdev_ignore --exclude .svn +- -j -f ${_template} . ++ --exclude .kdev_ignore --exclude .svn --mode=go=rX,u+rw,a-s --owner=root ++ --group=root --numeric-owner -j -f ${_template} . + DEPENDS ${_deps} + ) + endif(WIN32) diff -Nru kdevplatform-1.7.2/debian/patches/series kdevplatform-1.7.2/debian/patches/series --- kdevplatform-1.7.2/debian/patches/series 2016-01-17 01:14:39.000000000 -0800 +++ kdevplatform-1.7.2/debian/patches/series 2016-02-26 13:37:30.000000000 -0800 @@ -1 +1,3 @@ 11_disable_examples_tests.diff +fix_umask_for_reproducible_build.patch +