From f16e5251e113e2d97fbe6dc4937b28eca5820688 Mon Sep 17 00:00:00 2001 From: Till Hofmann Date: Oct 03 2016 11:06:28 +0000 Subject: Fix missing link flag for dlopen, don't build on aarch64 --- diff --git a/orocos-bfl.spec b/orocos-bfl.spec index 9732af0..149478a 100644 --- a/orocos-bfl.spec +++ b/orocos-bfl.spec @@ -3,7 +3,7 @@ Name: orocos-bfl %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global checkout 20160503git%{shortcommit} Version: 0.8.99 -Release: 5.%{checkout}%{?dist} +Release: 6.%{checkout}%{?dist} Summary: A framework for inference in Dynamic Bayesian Networks # Explanation from upstream for multiple licenses: @@ -22,7 +22,7 @@ Source0: https://gitlab.mech.kuleuven.be/rob-estimation/orocos-bayesian-filte # The test results look like this package does not work on arm, thus exclude for # now. This is reported upstream: # http://bugs.orocos.org/show_bug.cgi?id=1062 -ExcludeArch: %{arm} +ExcludeArch: %{arm} aarch64 BuildRequires: cmake, cppunit-devel, boost-devel, ginac-devel BuildRequires: doxygen-latex, ghostscript-core @@ -56,6 +56,7 @@ The %{name}-doc package contains documentation for %{name}. %setup -q -n orocos-bayesian-filtering.git/orocos_bfl %build +export LDFLAGS='-ldl' %cmake \ -DGINAC_SUPPORT:BOOL=ON \ -DLIBRARY_TYPE:STRING="shared" \ @@ -106,6 +107,10 @@ rm -rf %{buildroot}%{_bindir}/bfl %changelog +* Mon Oct 03 2016 Till Hofmann - 0.8.99-6.20160503gitc1b18e3 +- Exclude aarch64, the error is the same as on arm +- Add -ldl to the linker flags + * Wed May 04 2016 Till Hofmann - 0.8.99-5.20160503gitc1b18e3 - Add COPYING file to doc subpackage - Fix license and add explanation for multiple licenses