Source: octave-geometry
Version: 3.0.0-5
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that octave-geometry could not be built reproducibly.
This is because — after the move to dh-octave — the overridden
target is called in a different order and the execution of the
testsuite recreates any previously-deleted .pyc files.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2018-02-11 09:28:24.442766922 +0000
--- b/debian/rules 2018-02-11 09:30:54.975664240 +0000
@@ -6,8 +6,8 @@
%:
dh $@ --buildsystem=octave --with=octave
-override_dh_auto_install:
- dh_auto_install
+override_dh_installdeb:
# Remove file with Python bytecode
find debian/octave-geometry -name \*.pyc -exec rm \{} \;
+ dh_installdeb