summaryrefslogtreecommitdiff
path: root/robot-localization.spec
diff options
context:
space:
mode:
Diffstat (limited to 'robot-localization.spec')
-rw-r--r--robot-localization.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/robot-localization.spec b/robot-localization.spec
index e5e0042..e434b74 100644
--- a/robot-localization.spec
+++ b/robot-localization.spec
@@ -17,6 +17,7 @@ Summary: Provides nonlinear state estimation through sensor fusion of an
Url: http://ros.org/wiki/robot_localization
License: Apache License 2.0
Source0: %{RosPkgName}-%{version}.tar.gz
+Patch0: 0001-adapt-GeographicLib-discovery-for-openEuler.patch
Requires: eigen3-devel
Requires: ros-%{ros_distro}-geographic-msgs
@@ -83,7 +84,7 @@ Provides: %{name}-runtime = %{version}-%{release}
Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors.
%prep
-%autosetup -n %{RosPkgName}-%{version}
+%autosetup -n %{RosPkgName}-%{version} -p1
%build
# Needed to bootstrap since the ros_workspace package does not yet exist.
@@ -103,7 +104,6 @@ mkdir -p .obj-%{_target_platform} && cd .obj-%{_target_platform}
-DCMAKE_INSTALL_PREFIX="/opt/ros/%{ros_distro}" \
-DAMENT_PREFIX_PATH="/opt/ros/%{ros_distro}" \
-DCMAKE_PREFIX_PATH="/opt/ros/%{ros_distro}" \
- -DGeographicLib_DIR="%{_libdir}/cmake/GeographicLib" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
%if !0%{?with_tests}
-DBUILD_TESTING=OFF \