[med-svn] [Git][med-team/libbpp-qt][master] Symbols for amd64 arch only.

Julien Y. Dutheil gitlab at salsa.debian.org
Sat Apr 7 21:27:45 BST 2018


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


Commits:
7be1b21e by Julien Y. Dutheil at 2018-04-07T22:27:00+02:00
Symbols for amd64 arch only.

Updated dates in copyright file.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libbpp-qt (2.4.0-1) UNRELEASED; urgency=medium
   * Provide full license text of CeCILL license
 
   [ Julien Y. Dutheil ]
+  * Provide symbols file only for amd64
   * New upstream version
   * Removed unnecessary override
 


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,10 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: B++-Qt
+Upstream-Name: Bpp-Qt
 Upstream-Contact: Julien Yann Dutheil <julien.dutheil at univ-montp2.fr>
-Source: http://biopp.univ-montp2.fr/Repositories/sources/
+Source: https://github.com/BioPP/bpp-qt/
 
 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
@@ -9,6 +9,23 @@ CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF
 %:
 	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-qt/commit/7be1b21e92bfbd2a64302b488b2f3ff9d2375767

---
View it on GitLab: https://salsa.debian.org/med-team/libbpp-qt/commit/7be1b21e92bfbd2a64302b488b2f3ff9d2375767
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/5f8a0a74/attachment-0001.html>


More information about the debian-med-commit mailing list