Add symbols file hack for raspbian. archive/raspbian/1%1.5.0-1+rpi1 raspbian/1%1.5.0-1+rpi1
authorPeter Michael Green <plugwash@raspbian.org>
Tue, 18 Feb 2020 14:44:12 +0000 (14:44 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 18 Feb 2020 14:44:12 +0000 (14:44 +0000)
debian/changelog
debian/rules

index 2b476379e73d01cc7b58d4f423e1f68309d01e33..ec9bd70304f970c04f7dd201e791d479fa6c39df 100644 (file)
@@ -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 <plugwash@raspbian.org> 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 <plugwash@raspbian.org>  Tue, 18 Feb 2020 14:01:31 +0000
 
 spdlog (1:1.5.0-1) unstable; urgency=medium
index 2c411966a48ac0b2b5162f23e9cb9c2701be8994..218c85d51c4fd78029671d44823759712e08b945 100755 (executable)
@@ -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