[med-svn] [Git][med-team/microbiomeutil][master] 2 commits: Clean post testing (Fixes unreproducible builds)

Nilesh Patra gitlab at salsa.debian.org
Fri Jan 8 07:05:24 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / microbiomeutil


Commits:
acc33de9 by Nilesh Patra at 2021-01-08T12:34:49+05:30
Clean post testing (Fixes unreproducible builds)

- - - - -
a50d1ccc by Nilesh Patra at 2021-01-08T12:35:09+05:30
Fix interpreter path

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -19,6 +19,11 @@ else
 ## Run test suite only on powerfull architectures (amd64) at build time
 #ifneq (,$(filter $(DEB_HOST_ARCH),amd64 kfreebsd-amd64))
 	dh_auto_test
+	cd ${CURDIR}/ChimeraSlayer/sample_data && $(MAKE) clean
+	cd ${CURDIR}/NAST-iEr/sample_data && $(MAKE) clean
+	cd ${CURDIR}/WigeoN/sample_data && $(MAKE) clean
+	rm -f RESOURCES/rRNA16S.gold.fasta.n* RESOURCES/*.cidx
+	rm -f formatdb.log
 #else
 #	echo "Do not run test suite when building on architecture $(DEB_HOST_ARCH)"
 #endif
@@ -38,6 +43,7 @@ override_dh_auto_clean:
 
 override_dh_install:
 	dh_install -XMakefile -Xsample_data -XLICENSE -XNAST-iEr.c
+	find debian -name '*.pl' -o -name '*.pm' | xargs sed -i 's|/usr/bin/env perl|/usr/bin/perl|g'
 
 override_dh_installexamples:
 	dh_installexamples



View it on GitLab: https://salsa.debian.org/med-team/microbiomeutil/-/compare/68a8d68ef50c798979fffcac34cb8347775a4283...a50d1cccb591dd8afaa07839928c30f417ceca29

-- 
View it on GitLab: https://salsa.debian.org/med-team/microbiomeutil/-/compare/68a8d68ef50c798979fffcac34cb8347775a4283...a50d1cccb591dd8afaa07839928c30f417ceca29
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210108/25978aba/attachment-0001.html>


More information about the debian-med-commit mailing list