Andreas Tille pushed to branch master at Debian Med / libbpp-core

Commits:
f988840a by Andreas Tille at 2018-04-07T09:01:56+02:00
Update years

- - - - -
12e2c494 by Andreas Tille at 2018-04-07T11:50:53+02:00
Provide symbols file only for amd64

- - - - -
b77136c0 by Andreas Tille at 2018-04-07T11:58:48+02:00
Upload to unstable

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libbpp-core (2.4.0-3) unstable; urgency=medium
+
+  * Provide symbols file only for amd64
+
+ -- Andreas Tille <ti...@debian.org>  Sat, 07 Apr 2018 11:50:58 +0200
+
 libbpp-core (2.4.0-2) unstable; urgency=medium
 
   * Provide full license text of CeCILL license


=====================================
debian/copyright
=====================================
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,14 +4,14 @@ Upstream-Contact: Julien Yann Dutheil 
<julien.duth...@univ-montp2.fr>
 Source: https://github.com/BioPP/bpp-core/
 
 Files: *
-Copyright: 2010-2016 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
+Copyright: 2010-2018 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
                      Bio++ Development Team
 License: CeCILL
 
 Files: debian/*
-Copyright: 2014 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
-                Bio++ Development Team
-           2016 Andreas Tille <ti...@debian.org>
+Copyright: 2014-2018 Julien Yann Dutheil <julien.duth...@univ-montp2.fr>
+                     Bio++ Development Team
+           2016-2018 Andreas Tille <ti...@debian.org>
 License: GPL-2+
 
 Files: src/Bpp/Numeric/Matrix/EigenValue.h


=====================================
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-core/compare/cc18852b0287f5c93c1be27c0cf9713b17fec4c6...b77136c03cc6fcb79fc53d80e07d685bfe5262d0

---
View it on GitLab: 
https://salsa.debian.org/med-team/libbpp-core/compare/cc18852b0287f5c93c1be27c0cf9713b17fec4c6...b77136c03cc6fcb79fc53d80e07d685bfe5262d0
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