enabled DT testcases

(cherry picked from commit 56897baee4d2fe763f061a2fce03ef37a9f574c4)
This commit is contained in:
renmingshuai@huawei.com 2023-01-09 20:12:27 +08:00 committed by openeuler-sync-bot
parent 8e535a1dfc
commit cddc328ac3

View File

@ -1,6 +1,7 @@
#needsrootforbuild
Name: conntrack-tools
Version: 1.4.6
Release: 4
Release: 5
Summary: Userspace tools for interacting with the Connection Tracking System
License: GPLv2
URL: http://conntrack-tools.netfilter.org/
@ -43,6 +44,15 @@ sed -i "s/DEFAULT_INCLUDES = -I./DEFAULT_INCLUDES = -I. -I\/usr\/include\/tirpc/
CFLAGS="${CFLAGS} -Wl,-z,lazy"
CXXFLAGS="${CXXFLAGS} -Wl,-z,lazy"
%check
cd tests/conntrack
sh run-test.sh
cp ../../src/nfct /usr/sbin/
cd ../nfct
sh run-test.sh
rm -f /usr/sbin/nfct
cd ../../
%make_build
rm -f doc/sync/notrack/conntrackd.conf.orig doc/sync/alarm/conntrackd.conf.orig doc/helper/conntrackd.conf.orig
chmod 644 doc/sync/primary-backup.sh
@ -78,6 +88,12 @@ install -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/conntrackd/
%{_mandir}/man8/*
%changelog
* Mon Jan 09 2023 zhanghao <zhanghao383@huawei.com> - 1.4.6-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:enabled DT testcases
* Mon Oct 31 2022 yanglu <yanglu72@h-partners.com> - 1.4.6-4
- Type:bugfix
- ID:NA