diff --git a/openvswitch.spec b/openvswitch.spec index 96e1e53ecf7a82b5026a7d1b1aaf52ef3e1d37e2..61ccd271b76b046b007388184e7bbe2385806266 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -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 - 3.2.1-4 +- remove rpath + * Fri Mar 29 2024 zhangpan - 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