[med-svn] [Git][med-team/libbpp-popgen][master] Symbol files for amd64 only.

Julien Y. Dutheil gitlab at salsa.debian.org
Sat Apr 7 20:50:55 BST 2018


Julien Y. Dutheil pushed to branch master at Debian Med / libbpp-popgen


Commits:
e4cb4464 by Julien Y. Dutheil at 2018-04-07T21:49:41+02:00
Symbol files for amd64 only.

Fixed date in copyright file.

- - - - -


3 changed files:

- debian/changelog
- debian/copyright
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libbpp-popgen (2.4.0-3) UNRELEASED; urgency=medium
+
+  * Provide symbols file only for amd64
+
+ -- Julien Dutheil <julien.dutheil at univ-montp2.fr>  Sat, 07 Apr 2018 21:48:53 +0200
+
 libbpp-popgen (2.4.0-2) UNRELEASED; urgency=medium
 
   * Provide full license text of CeCILL license


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Upstream-Contact: Julien Yann Dutheil <julien.dutheil at univ-montp2.fr>
 Source: https://github.com/BioPP/bpp-popgen/
 
 Files: *
-Copyright: 2010-2016 Julien Yann Dutheil <julien.dutheil at univ-montp2.fr>
+Copyright: 2010-2018 Julien Yann Dutheil <julien.dutheil at univ-montp2.fr>
                      Bio++ Development Team
 License: CeCILL
 


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,23 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@
 
+override_dh_makeshlibs:
+ifeq ($(DEB_BUILD_ARCH),amd64)
+	echo "Architecture amd64 is the only one where a symbols file is provided"
+else
+	echo "Symbols file for architecture $(DEB_BUILD_ARCH) is not provided"
+	mkdir -p debian/hidesymbols
+	mv debian/*.symbols debian/hidesymbols
+endif
+	dh_makeshlibs
+ifeq ($(DEB_BUILD_ARCH),amd64)
+	echo "dh_makeshlibs for architecture amd64 including symbols done"
+else
+	# restore original debian/ dir to enable building twice in a row
+	mv debian/hidesymbols/*.symbols debian
+	rmdir debian/hidesymbols
+endif
+
 override_dh_install:
 	dh_install
 	d-shlibmove --commit \



View it on GitLab: https://salsa.debian.org/med-team/libbpp-popgen/commit/e4cb446416a332522166566a97d0b8b39055374e

---
View it on GitLab: https://salsa.debian.org/med-team/libbpp-popgen/commit/e4cb446416a332522166566a97d0b8b39055374e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180407/bc98294f/attachment-0001.html>


More information about the debian-med-commit mailing list