Skip to content

Commit 097c32f

Browse files
committed
rpm: use nftables as default for f41
Use nftables as default driver for fedora 41. https://fedoraproject.org/wiki/Changes/NetavarkNftablesDefault Signed-off-by: Paul Holzinger <[email protected]>
1 parent fd1ae9f commit 097c32f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpm/netavark.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
# Minimum X.Y dep for aardvark-dns
1515
%define major_minor %((v=%{version}; echo ${v%.*}))
1616

17-
# Set default firewall to nftables on CentOS Stream 10+, RHEL 10+
17+
# Set default firewall to nftables on CentOS Stream 10+, RHEL 10+, Fedora 41+
1818
# and default to iptables on all other environments
1919
# The `rhel` macro is defined on CentOS Stream, RHEL as well as Fedora ELN.
20-
%if %{defined rhel} && 0%{?rhel} >= 10
20+
%if (%{defined rhel} && 0%{?rhel} >= 10) || (%{defined fedora} && 0%{?fedora} >= 41)
2121
%define default_fw nftables
2222
%else
2323
%define default_fw iptables

0 commit comments

Comments
 (0)