Skip to content
Commits on Source (3)
libbpp-core (2.4.0-3) unstable; urgency=medium
* Provide symbols file only for amd64
-- Andreas Tille <tille@debian.org> Sat, 07 Apr 2018 11:50:58 +0200
libbpp-core (2.4.0-2) unstable; urgency=medium libbpp-core (2.4.0-2) unstable; urgency=medium
* Provide full license text of CeCILL license * Provide full license text of CeCILL license
......
...@@ -4,14 +4,14 @@ Upstream-Contact: Julien Yann Dutheil <julien.dutheil@univ-montp2.fr> ...@@ -4,14 +4,14 @@ Upstream-Contact: Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
Source: https://github.com/BioPP/bpp-core/ Source: https://github.com/BioPP/bpp-core/
Files: * Files: *
Copyright: 2010-2016 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr> Copyright: 2010-2018 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
Bio++ Development Team Bio++ Development Team
License: CeCILL License: CeCILL
Files: debian/* Files: debian/*
Copyright: 2014 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr> Copyright: 2014-2018 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
Bio++ Development Team Bio++ Development Team
2016 Andreas Tille <tille@debian.org> 2016-2018 Andreas Tille <tille@debian.org>
License: GPL-2+ License: GPL-2+
Files: src/Bpp/Numeric/Matrix/EigenValue.h Files: src/Bpp/Numeric/Matrix/EigenValue.h
......
...@@ -9,6 +9,23 @@ CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF ...@@ -9,6 +9,23 @@ CMAKE_EXTRA_FLAGS += -DBUILD_TESTING=OFF
%: %:
dh $@ 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: override_dh_install:
dh_install dh_install
d-shlibmove --commit \ d-shlibmove --commit \
......