!29 enabled DT testcases
From: @yangl777 Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
3cb92af484
@ -1,6 +1,7 @@
|
||||
#needsrootforbuild
|
||||
Name: conntrack-tools
|
||||
Version: 1.4.6
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Userspace tools for interacting with the Connection Tracking System
|
||||
License: GPLv2
|
||||
URL: http://conntrack-tools.netfilter.org/
|
||||
@ -52,6 +53,14 @@ install -d 0755 %{buildroot}%{_unitdir}
|
||||
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
||||
install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
|
||||
|
||||
%check
|
||||
cd tests/conntrack
|
||||
sh run-test.sh
|
||||
cd ../nfct
|
||||
sed -i "s/\/usr\/sbin/..\/..\/src/g" test.c
|
||||
sh run-test.sh
|
||||
cd ../../
|
||||
|
||||
%post
|
||||
%systemd_post conntrackd.service
|
||||
|
||||
@ -75,6 +84,9 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 09 2023 yanglu <yanglu72@h-partners.com> - 1.4.6-3
|
||||
- Enabled DT testcases
|
||||
|
||||
* Mon Nov 09 2020 huanghaitao <huanghaitao8@huawei.com> - 1.4.6-2
|
||||
- Make help package required by conntrack-tools
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user