replace fgrep witch grep -F

(cherry picked from commit de63e63b3875922108cb320e70cc9e5ba79a6ab1)
This commit is contained in:
zppzhangpan 2023-08-29 16:14:26 +08:00 committed by openeuler-sync-bot
parent a1f239522a
commit afac8ed72e

View File

@ -13,7 +13,7 @@ Name: openvswitch
Summary: Open vSwitch daemon/database/utilities Summary: Open vSwitch daemon/database/utilities
URL: https://www.openvswitch.org/ URL: https://www.openvswitch.org/
Version: 2.17.5 Version: 2.17.5
Release: 5 Release: 6
License: ASL 2.0 and LGPLv2+ and SISSL License: ASL 2.0 and LGPLv2+ and SISSL
Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz
@ -321,7 +321,7 @@ done
%if %{with dpdk} %if %{with dpdk}
%post dpdk %post dpdk
if fgrep -qw sse4_1 /proc/cpuinfo; then if grep -Fqw sse4_1 /proc/cpuinfo; then
priority=20 priority=20
else else
echo "Warning: the CPU doesn't support SSE 4.1, dpdk support is not enabled." >&2 echo "Warning: the CPU doesn't support SSE 4.1, dpdk support is not enabled." >&2
@ -426,6 +426,9 @@ fi
%{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs %{_sysconfdir}/sysconfig/network-scripts/ifdown-ovs
%changelog %changelog
* Tue Aug 29 2023 zhangpan <zhangpan103@h-partners.com> - 2.17.5-6
- replace fgrep witch grep -F
* Mon Aug 28 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.17.5-5 * Mon Aug 28 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.17.5-5
- sync pulls/150: clean up openswitch group and user - sync pulls/150: clean up openswitch group and user