Source: python-aiosqlite
Version: 0.16.1-1
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
python-aiosqlite could not be built reproducibly.

You delete the direct_url.json file (which was varying on the
absolute build path) but you do not delete its line and its hash
in the "RECORD" file, so this file also varies on the build path.

Patch attached that also deletes this file. (Another solution
would be to move to "dh_install -Xfoo -Xbar".)


 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2021-02-11 09:04:30.770760998 +0000
--- b/debian/rules      2021-02-11 09:06:08.232058960 +0000
@@ -21,4 +21,4 @@
 # make reproducible
 override_dh_auto_install:
        dh_auto_install
-       find -name direct_url.json -delete
+       find \( -name direct_url.json -or -name RECORD \) -delete

Reply via email to