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

Commits:
9f467c88 by Julien Y. Dutheil at 2018-04-07T20:38:36+02:00
Symbols file for amd64 only.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

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


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,24 @@ 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:
-       # Broken header, don't install (if we do, the postinst will pull it
-       # into generic include files)
        dh_install
        d-shlibmove --commit \
                    --multiarch \



View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-seq/commit/9f467c88bd4d867c96caf18552b11142daa21a37

---
View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-seq/commit/9f467c88bd4d867c96caf18552b11142daa21a37
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to