From d6d65ec96bdd2d0d7a4af1c1fe3ab53b5241f546 Mon Sep 17 00:00:00 2001 From: Peter Michael Green Date: Tue, 18 Feb 2020 14:44:12 +0000 Subject: [PATCH] Add symbols file hack for raspbian. --- debian/changelog | 3 +++ debian/rules | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 2b47637..ec9bd70 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ spdlog (1:1.5.0-1+rpi1) bullseye-staging; urgency=medium [changes brought forward from 1:1.1.0-2+rpi1 by Peter Michael Green at Wed, 10 Oct 2018 00:49:48 +0000] * use libatomic on armhf too for raspbian. + [changes introduced in 1:1.5.0-1+rpi1 by Peter Michael Green] + * Add symbols file hack for Raspbian. + -- Peter Michael Green Tue, 18 Feb 2020 14:01:31 +0000 spdlog (1:1.5.0-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 2c41196..218c85d 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all # dh_auto_configure -- -Denable_tests=true -Dexternal_fmt=true -Dlibrary_type=shared override_dh_auto_configure: + sed -i 's/(arch=!armel !riscv64)/(optional=meh)/' debian/libspdlog*.symbols dh_auto_configure -- -DSPDLOG_BUILD_EXAMPLE=ON \ -DSPDLOG_BUILD_EXAMPLE_HO=ON \ -DSPDLOG_BUILD_TESTS=ON \ @@ -30,3 +31,7 @@ override_dh_auto_install: rm -f example/logs/.gitignore dh_auto_install find debian -name .gitignore -delete + +override_dh_auto_clean: + dh_auto_clean + sed -i 's/(optional=meh)/(arch=!armel !riscv64)/' debian/libspdlog*.symbols -- 2.30.2