--- a/debian/patches/002_reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/002_reproducible-build.patch 2020-04-07 16:20:12.571362242 +0100 @@ -0,0 +1,20 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2020-04-07 + +--- rspamd-1.9.4.orig/contrib/lua-torch/torch7/paths.lua.in ++++ rspamd-1.9.4/contrib/lua-torch/torch7/paths.lua.in +@@ -1,11 +1,11 @@ + local paths = {} + + paths.install_prefix = [[@Torch_INSTALL_PREFIX@]] +-paths.install_bin = [[@Torch_INSTALL_BIN@]] ++paths.install_bin = [[/nonexitent]] + paths.install_man = [[@Torch_INSTALL_MAN@]] + paths.install_lib = [[@Torch_INSTALL_LIB@]] + paths.install_share = [[@Torch_INSTALL_SHARE@]] +-paths.install_include = [[@Torch_INSTALL_INCLUDE@]] ++paths.install_include = [[/nonexitent]] + paths.install_cmake = [[@Torch_INSTALL_CMAKE@]] + + return paths --- a/debian/patches/series 2020-04-07 10:41:26.604196543 +0100 --- b/debian/patches/series 2020-04-07 16:20:11.723355291 +0100 @@ -1 +1,2 @@ 001_fix-perl-sheebang.patch +002_reproducible-build.patch