remove rpath

This commit is contained in:
zhangxianting 2024-04-08 15:54:55 +08:00
parent 2eb32ee1bb
commit c7cf05267d

View File

@ -13,7 +13,7 @@ Name: openvswitch
Summary: Open vSwitch daemon/database/utilities
URL: https://www.openvswitch.org/
Version: 3.2.1
Release: 3
Release: 4
License: ASL 2.0 and LGPLv2+ and SISSL
Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz
@ -36,6 +36,7 @@ BuildRequires: unbound-devel groff
# make check dependencies
BuildRequires: procps-ng
BuildRequires: checkpolicy selinux-policy-devel
BuildRequires: chrpath
%if %{with check_datapath_kernel}
BuildRequires: nmap-ncat
@ -253,6 +254,9 @@ install -p -D -m 0755 \
rhel/usr_share_openvswitch_scripts_ovs-systemd-reload \
$RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-systemd-reload
chrpath -d $RPM_BUILD_ROOT%{_sbindir}/ovs-vswitchd.dpdk
chrpath -d $RPM_BUILD_ROOT%{_libdir}/openvswitch-dpdk/libofproto*.so.*
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/conf.db
touch $RPM_BUILD_ROOT%{_sysconfdir}/openvswitch/system-id.conf
@ -448,6 +452,9 @@ fi
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
%changelog
* Mon Apr 08 2024 zhangxianting <zhangxianting@uniontech.com> - 3.2.1-4
- remove rpath
* Fri Mar 29 2024 zhangpan <zhangpan103@h-partners.com> - 3.2.1-3
- fix openvswitch-ipsec servive failure when selinux is on
- fix the problem that openvswitch-ipsec.service causes ipsec.service to fail when starting