!5 Fix invalid option for trafgen -A

From: @wk333 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-03-14 12:06:07 +00:00 committed by Gitee
commit 99dff6c863
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: netsniff-ng
Version: 0.6.8
Release: 1
Release: 2
Summary: Packet sniffing beast
License: GPLv2
URL: http://netsniff-ng.org/
@ -13,6 +13,7 @@ netsniff-ng is a high performance Linux network sniffer for packet inspection. I
%prep
%setup -q
sed -i 's/"d:c:n:t:vJhS:rk:i:o:VRs:P:eE:pu:g:CHQqD:b:"/"d:c:n:t:vJhS:rk:i:o:VRs:P:eE:pu:g:CHQqD:b:A"/g' trafgen.c
%build
export NACL_INC_DIR=$(pkg-config --variable=includedir libsodium )/sodium
@ -32,5 +33,8 @@ make install PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} DESTDIR="%{buildroot}"
%{_mandir}/man8/*
%changelog
* Tue Mar 14 2023 wangkai <wangkai385@h-partners.com> - 0.6.8-2
- Fix invalid option for trafgen -A
* Tue Sep 7 2021 zhengyaohui <zhengyaohui1@huawei.com> - 0.6.8-1
- package init