diff -Nru distorm3-3.3.4/debian/changelog distorm3-3.3.4/debian/changelog --- distorm3-3.3.4/debian/changelog 2016-07-04 00:10:26.000000000 +0000 +++ distorm3-3.3.4/debian/changelog 2016-11-05 19:15:48.000000000 +0000 @@ -1,3 +1,12 @@ +distorm3 (3.3.4-2) unstable; urgency=medium + + * Bumped DH level to 10. + * debian/patches/: added 20_reproducible_build.patch to make the build + reproducible. Thanks to Reiner Herrmann . + (Closes: #843245) + + -- Joao Eriberto Mota Filho Sat, 05 Nov 2016 17:15:48 -0200 + distorm3 (3.3.4-1) unstable; urgency=medium * New upstream release. diff -Nru distorm3-3.3.4/debian/compat distorm3-3.3.4/debian/compat --- distorm3-3.3.4/debian/compat 2014-08-30 03:45:37.000000000 +0000 +++ distorm3-3.3.4/debian/compat 2016-11-05 19:15:48.000000000 +0000 @@ -1 +1 @@ -9 +10 diff -Nru distorm3-3.3.4/debian/control distorm3-3.3.4/debian/control --- distorm3-3.3.4/debian/control 2016-07-03 20:38:48.000000000 +0000 +++ distorm3-3.3.4/debian/control 2016-11-05 19:15:48.000000000 +0000 @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Joao Eriberto Mota Filho -Build-Depends: debhelper (>= 9), python, dh-python +Build-Depends: debhelper (>= 10), python, dh-python Standards-Version: 3.9.8 Homepage: https://github.com/gdabah/distorm Vcs-Git: https://anonscm.debian.org/git/collab-maint/distorm3.git diff -Nru distorm3-3.3.4/debian/patches/20_reproducible_build.patch distorm3-3.3.4/debian/patches/20_reproducible_build.patch --- distorm3-3.3.4/debian/patches/20_reproducible_build.patch 1970-01-01 00:00:00.000000000 +0000 +++ distorm3-3.3.4/debian/patches/20_reproducible_build.patch 2016-11-05 19:15:48.000000000 +0000 @@ -0,0 +1,16 @@ +Author: Reiner Herrmann +Description: Sort source files for deterministic linking order +Last-Update: 2016-11-05 +Index: distorm3-3.3.4/setup.py +=================================================================== +--- distorm3-3.3.4.orig/setup.py ++++ distorm3-3.3.4/setup.py +@@ -33,7 +33,7 @@ def get_sources(): + create the libdistorm3 library. + """ + +- return glob('src/*.c') ++ return sorted(glob('src/*.c')) + + + class custom_build(build): diff -Nru distorm3-3.3.4/debian/patches/series distorm3-3.3.4/debian/patches/series --- distorm3-3.3.4/debian/patches/series 2016-07-03 20:24:56.000000000 +0000 +++ distorm3-3.3.4/debian/patches/series 2016-11-05 19:15:48.000000000 +0000 @@ -1 +1,2 @@ 10_fix_init_python.patch +20_reproducible_build.patch