[med-svn] [Git][med-team/htslib][master] Make the build more reproducible

Michael R. Crusoe gitlab at salsa.debian.org
Wed Dec 11 09:54:42 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / htslib


Commits:
bc910b7a by Michael R. Crusoe at 2019-12-11T09:44:26Z
Make the build more reproducible

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 htslib (1.10-1) unstable; urgency=medium
 
   * New upstream release.
+  * Remove build path from packaged config.mk to make the build more reproducible.
 
  -- Michael R. Crusoe <michael.crusoe at gmail.com>  Mon, 09 Dec 2019 19:40:15 +0100
 


=====================================
debian/rules
=====================================
@@ -46,6 +46,13 @@ override_dh_auto_install:
 	$(RM) -r test
 	mv test_backup test
 
+override_dh_install:
+	dh_install
+ifeq (,$(wildcard ./debian/htslib-test/usr/share/htslib-test/config.mk))
+	sed -i 's/-ffile-prefix-map=[^[:space:]]* //g' debian/htslib-test/usr/share/htslib-test/config.mk
+	sed -i 's/-fdebug-prefix-map=[^[:space:]]* //g' debian/htslib-test/usr/share/htslib-test/config.mk
+endif
+
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 



View it on GitLab: https://salsa.debian.org/med-team/htslib/commit/bc910b7a1257cc17df26465f9d00eb0d3e92bc80

-- 
View it on GitLab: https://salsa.debian.org/med-team/htslib/commit/bc910b7a1257cc17df26465f9d00eb0d3e92bc80
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/20191211/c2be0cd7/attachment-0001.html>


More information about the debian-med-commit mailing list