Package: kiki-the-nano-bot
Version: 1.0.2+dfsg1-5
Tags: patch
Severity: wishlist
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
By default oggenc includes random serial numbers in the header, which
are seeded by the current time and the pid. This makes the build not
reproducible. [0]
Patch attached. We use the filename as the serial to avoid potential
uniqueness problems.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/debian/rules b/debian/rules
index b6a420b..61d76c8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,7 +24,7 @@ build-arch-stamp:
build-indep: build-indep-stamp
build-indep-stamp:
dh_testdir
- oggenc sound/*.wav
+ for X in sound/*.wav; do oggenc --serial $$X $$X; done
touch $@
clean: