diff --git a/enabled-makecheck-in-extensions.patch b/enabled-makecheck-in-extensions.patch new file mode 100644 index 0000000000000000000000000000000000000000..9f3cbe4d643a5d9baf61d94b27246a3533bf20c6 --- /dev/null +++ b/enabled-makecheck-in-extensions.patch @@ -0,0 +1,35 @@ +From 54c670ada541aa61ab9ab7907ab245718137efb8 Mon Sep 17 00:00:00 2001 +From: huangyu +Date: Sat, 26 Nov 2022 18:08:31 +0800 +Subject: [PATCH] enable makecheck in extensions + +Signed-off-by: huangyu +--- + extensions/GNUmakefile.in | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in +index 0842a55..7d034af 100644 +--- a/extensions/GNUmakefile.in ++++ b/extensions/GNUmakefile.in +@@ -79,7 +79,7 @@ targets_install := + + .SECONDARY: + +-.PHONY: all install clean distclean FORCE ++.PHONY: all install check clean distclean FORCE + + all: ${targets} + +@@ -92,6 +92,8 @@ install: ${targets_install} ${symlinks_install} + cp -P ${symlinks_install} "${DESTDIR}${xtlibdir}/"; \ + fi; + ++check: ++ + clean: + rm -f *.o *.oo *.so *.a {matches,targets}.man initext.c initext4.c initext6.c initextb.c initexta.c; + rm -f .*.d .*.dd; +-- +2.23.0 + diff --git a/iptables.spec b/iptables.spec index c1cea5693beca67f057301e16c7d744d41e788c8..19eed3f296ba024d2d17dffe4309b0825153f4aa 100644 --- a/iptables.spec +++ b/iptables.spec @@ -2,7 +2,7 @@ %global legacy_actions %{_libexecdir}/initscripts/legacy-actions Name: iptables Version: 1.8.5 -Release: 4 +Release: 5 Summary: IP packet filter administration utilities License: GPLv2 and Artistic Licence 2.0 and ISC URL: https://www.netfilter.org/ @@ -20,7 +20,7 @@ Patch6004: backport-libxtables-Make-sure-extensions-register-in-revision- Patch6005: backport-libxtables-Register-multiple-extensions-in-ascending-order.patch Patch6006: backport-libxtables-Simplify-pending-extension-registration.patch Patch6007: backport-libxtables-Register-only-the-highest-revision-extension.patch - +Patch6008: enabled-makecheck-in-extensions.patch BuildRequires: bison flex gcc kernel-headers libpcap-devel libselinux-devel systemd git BuildRequires: libmnl-devel libnetfilter_conntrack-devel libnfnetlink-devel libnftnl-devel @@ -85,6 +85,9 @@ rm -f include/linux/types.h %make_build +%check +make check + %install %make_install @@ -327,6 +330,12 @@ fi %{_mandir}/man8/xtables-legacy* %changelog +* Thu Mar 09 2023 zhanghao - 1.8.5-5 +- Type:feature +- ID:NA +- SUG:NA +- DESC:enabled DT test + * Sat Dec 24 2022 huangyu - 1.8.5-4 - Type: bugfix - ID: NA