!20 同步分支
From: @davidhan008 Reviewed-by: @anchuanxu Signed-off-by: @anchuanxu
This commit is contained in:
commit
f4d603849e
BIN
1.15.11-1.tar.gz
BIN
1.15.11-1.tar.gz
Binary file not shown.
@ -34,6 +34,8 @@ BuildRequires: python3-qt5
|
||||
BuildRequires: python3-sip
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: gmock-devel
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
This is %{name} Package
|
||||
@ -107,6 +109,23 @@ cp -r install_isolated/* %{buildroot}/opt/ros/noetic/
|
||||
cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/
|
||||
cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/
|
||||
|
||||
####
|
||||
# 对chrpath修改
|
||||
#
|
||||
####
|
||||
file `find %{buildroot}/opt/ros/noetic/lib/ -type f` | grep -w ELF | awk -F: '{print $1}' | xargs chrpath -d
|
||||
|
||||
|
||||
#chrpath -d %{buildroot}/opt/ros/noetic/lib/librostime.so
|
||||
#mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
#echo %{buildroot}/opt/ros/noetic/lib/:%{buildroot} > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
#%post
|
||||
#/sbin/ldconfig
|
||||
|
||||
#%postun
|
||||
#/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/ros/noetic/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user