[Git][reproducible-builds/diffoscope][master] d/rules: remove a /usr/lib/python3/dist-packages/debian/.build/..... directory after building

Mattia Rizzolo gitlab at salsa.debian.org
Mon Jun 1 08:44:26 UTC 2020



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope


Commits:
0abfbdfc by Mattia Rizzolo at 2020-06-01T10:43:07+02:00
d/rules: remove a /usr/lib/python3/dist-packages/debian/.build/..... directory after building

this appeared only now in buster-backports, likely caused by some other
dependant package changed behaviour.

Gbp-Dch: Ignore
Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -22,7 +22,8 @@ export PYBUILD_DESTDIR = debian/diffoscope
 export PYBUILD_TEST_ARGS = -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html
 export PYBUILD_BEFORE_TEST = flake8 --config=/dev/null --select=F821
 export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
-export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
+# the /debian/ one is required in buster-backports - unclear what creates that and why it's not present in bullseye
+export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage' '{destdir}/{install_dir}/debian'
 
 ifneq ($(JENKINS_EXPORTS_DIR),)
   export PYBUILD_BEFORE_TEST += && mkdir -pv $(JENKINS_EXPORTS_DIR)/test-results



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0abfbdfcbaf98f87f1eef9487a688425999c6259

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/0abfbdfcbaf98f87f1eef9487a688425999c6259
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200601/b3f0ca9b/attachment.htm>


More information about the rb-commits mailing list