Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-ulikunitz-xz could not be built reproducibly.
This is because the testsuite generates an "example.xz" file that is
not cleaned up and ends up in the binary package, meaning that if the
tests are skipped (eg. via "nocheck"), then the package varies by its
contents.
Patch attached that removes this file. Of course, if the file is needed
at runtime, then the packaging will need rejigging.
[0] https://reproducible-builds.org/
Regards,