Source: python-spdx-tools
Version: 0.8.3-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
python-spdx-tools could not be built reproducibly.

This is because the testsuite did not 100% clean up after itself.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-07 10:49:05.800418984 -0800
--- b/debian/rules      2025-11-07 11:20:58.012163722 -0800
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=python-spdx-tools
+export PYBUILD_AFTER_TEST=find {build_dir} \( -name parser.out -or -name 
parsetab.py \) -delete
 
 %:
        dh $@ --buildsystem=pybuild

Reply via email to