From afac8ed72e2d85bd6d07a59520684771b6ffbf7b Mon Sep 17 00:00:00 2001 From: zppzhangpan Date: Tue, 29 Aug 2023 16:14:26 +0800 Subject: [PATCH] replace fgrep witch grep -F (cherry picked from commit de63e63b3875922108cb320e70cc9e5ba79a6ab1) --- openvswitch.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openvswitch.spec b/openvswitch.spec index e7e23ca..3816ec5 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: 2.17.5 -Release: 5 +Release: 6 License: ASL 2.0 and LGPLv2+ and SISSL Source0: https://www.openvswitch.org/releases/%{name}-%{version}.tar.gz @@ -321,7 +321,7 @@ done %if %{with dpdk} %post dpdk -if fgrep -qw sse4_1 /proc/cpuinfo; then +if grep -Fqw sse4_1 /proc/cpuinfo; then priority=20 else 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 %changelog +* Tue Aug 29 2023 zhangpan - 2.17.5-6 +- replace fgrep witch grep -F + * Mon Aug 28 2023 zhouwenpei - 2.17.5-5 - sync pulls/150: clean up openswitch group and user -- Gitee