草稿
[WIP] 修复 geometry2 在 openEuler 上的构建 #19
[WIP] 修复 geometry2 在 openEuler 上的构建 #19
草稿
Wanming Hu创建于 10 天前
14 个文件变更+29-28
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 3%{?dist}%{?release_suffix}
16Summary: Has examples of using the tf2 Python API.16Summary: Has examples of using the tf2 Python API.
17 17 
18License: Apache License 2.018License: Apache License 2.0
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: A metapackage to bring in the default packages second generation Transform Library in ros, tf2.16Summary: A metapackage to bring in the default packages second generation Transform Library in ros, tf2.
17 17 
18Url: http://www.ros.org/wiki/geometry218Url: http://www.ros.org/wiki/geometry2
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: tf2_bullet16Summary: tf2_bullet
17 17 
18Url: http://www.ros.org/wiki/tf2_bullet18Url: http://www.ros.org/wiki/tf2_bullet
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -11,7 +11,7 @@
11 11 
12Name: ros-%{ros_distro}-%{RosPkgName}12Name: ros-%{ros_distro}-%{RosPkgName}
13Version: 0.25.2013Version: 0.25.20
14-Release: 2%{?dist}%{?release_suffix}14+Release: 4%{?dist}%{?release_suffix}
15Summary: ROS tf2-eigen-kdl package15Summary: ROS tf2-eigen-kdl package
16 16 
17License: BSD17License: BSD
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: tf2_eigen16Summary: tf2_eigen
17 17 
18License: BSD18License: BSD
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: tf2_geometry_msgs16Summary: tf2_geometry_msgs
17 17 
18Url: http://www.ros.org/wiki/tf2_ros18Url: http://www.ros.org/wiki/tf2_ros
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: KDL binding for tf216Summary: KDL binding for tf2
17 17 
18Url: http://ros.org/wiki/tf218Url: http://ros.org/wiki/tf2
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: tf2_msgs16Summary: tf2_msgs
17 17 
18Url: http://www.ros.org/wiki/tf2_msgs18Url: http://www.ros.org/wiki/tf2_msgs
@@ -81,6 +81,7 @@ export PYTHONPATH=/opt/ros/%{ros_distro}/lib/python%{python3_version}/site-packa
81# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.81# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
82if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi82if [ -f "/opt/ros/%{ros_distro}/setup.sh" ]; then . "/opt/ros/%{ros_distro}/setup.sh"; fi
83%make_install -C .obj-%{_target_platform}83%make_install -C .obj-%{_target_platform}
84+export QA_RPATHS=0x0013
84 85 
85%if 0%{?with_tests}86%if 0%{?with_tests}
86%check87%check
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -11,7 +11,7 @@
11 11 
12Name: ros-%{ros_distro}-%{RosPkgName}12Name: ros-%{ros_distro}-%{RosPkgName}
13Version: 0.25.2013Version: 0.25.20
14-Release: 2%{?dist}%{?release_suffix}14+Release: 4%{?dist}%{?release_suffix}
15Summary: The tf2_py package15Summary: The tf2_py package
16 16 
17Url: http://ros.org/wiki/tf2_py17Url: http://ros.org/wiki/tf2_py
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 3%{?dist}%{?release_suffix}
16Summary: This package contains the ROS Python bindings for the tf2 library16Summary: This package contains the ROS Python bindings for the tf2 library
17 17 
18Url: http://www.ros.org/wiki/tf2_ros18Url: http://www.ros.org/wiki/tf2_ros
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -11,7 +11,7 @@
11 11 
12Name: ros-%{ros_distro}-%{RosPkgName}12Name: ros-%{ros_distro}-%{RosPkgName}
13Version: 0.25.2013Version: 0.25.20
14-Release: 2%{?dist}%{?release_suffix}14+Release: 4%{?dist}%{?release_suffix}
15Summary: This package contains the C++ ROS bindings for the tf2 library15Summary: This package contains the C++ ROS bindings for the tf2 library
16 16 
17Url: http://www.ros.org/wiki/tf2_ros17Url: http://www.ros.org/wiki/tf2_ros
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 4%{?dist}%{?release_suffix}
16Summary: Small lib to transform sensor_msgs with tf. Most notably, PointCloud216Summary: Small lib to transform sensor_msgs with tf. Most notably, PointCloud2
17 17 
18Url: http://www.ros.org/wiki/tf2_ros18Url: http://www.ros.org/wiki/tf2_ros
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -12,7 +12,7 @@
12 12 
13Name: ros-%{ros_distro}-%{RosPkgName}13Name: ros-%{ros_distro}-%{RosPkgName}
14Version: 0.25.2014Version: 0.25.20
15-Release: 2%{?dist}%{?release_suffix}15+Release: 3%{?dist}%{?release_suffix}
16Summary: tf2_tools16Summary: tf2_tools
17 17 
18Url: http://www.ros.org/wiki/tf2_tools18Url: http://www.ros.org/wiki/tf2_tools
@@ -1,4 +1,4 @@
1-%bcond_without tests1+%bcond_with tests
2%bcond_without weak_deps2%bcond_without weak_deps
3 3 
4%define ros_distro humble4%define ros_distro humble
@@ -11,7 +11,7 @@
11 11 
12Name: ros-%{ros_distro}-%{RosPkgName}12Name: ros-%{ros_distro}-%{RosPkgName}
13Version: 0.25.2013Version: 0.25.20
14-Release: 2%{?dist}%{?release_suffix}14+Release: 4%{?dist}%{?release_suffix}
15Summary: ROS tf2 package15Summary: ROS tf2 package
16 16 
17Url: http://www.ros.org/wiki/tf217Url: http://www.ros.org/wiki/tf2