Bug#1120340: python-spdx-tools: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Nov 7 19:21:46 GMT 2025
Source: python-spdx-tools
Version: 0.8.3-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
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
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- 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
More information about the Reproducible-bugs
mailing list