diff --git a/conntrack-tools.spec b/conntrack-tools.spec index eec61b58495859c3924f28f87861b810e79149a3..9e75d2688e1c80f21dcceb3f8af03470b41b74e8 100644 --- a/conntrack-tools.spec +++ b/conntrack-tools.spec @@ -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 - 1.4.6-3 +- Enabled DT testcases + * Mon Nov 09 2020 huanghaitao - 1.4.6-2 - Make help package required by conntrack-tools