enabled DT testcases
Signed-off-by: yangl777 <yanglu72@h-partners.com>
This commit is contained in:
parent
6ca2a1b850
commit
4c258b6627
@ -1,6 +1,7 @@
|
|||||||
|
#needsrootforbuild
|
||||||
Name: conntrack-tools
|
Name: conntrack-tools
|
||||||
Version: 1.4.6
|
Version: 1.4.6
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Userspace tools for interacting with the Connection Tracking System
|
Summary: Userspace tools for interacting with the Connection Tracking System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://conntrack-tools.netfilter.org/
|
URL: http://conntrack-tools.netfilter.org/
|
||||||
@ -52,6 +53,14 @@ install -d 0755 %{buildroot}%{_unitdir}
|
|||||||
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/
|
||||||
install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
|
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
|
%post
|
||||||
%systemd_post conntrackd.service
|
%systemd_post conntrackd.service
|
||||||
|
|
||||||
@ -75,6 +84,9 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 09 2020 huanghaitao <huanghaitao8@huawei.com> - 1.4.6-2
|
||||||
- Make help package required by conntrack-tools
|
- Make help package required by conntrack-tools
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user