enabled DT testcases

Signed-off-by: yangl777 <yanglu72@h-partners.com>
This commit is contained in:
yangl777 2023-03-13 09:21:07 +00:00 committed by Gitee
parent 6ca2a1b850
commit 4c258b6627
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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