From 487004f595e112c43d7ee65a56a744ed5a4f9c10 Mon Sep 17 00:00:00 2001 From: spchan Date: Mon, 26 Aug 2019 16:59:04 +0800 Subject: [PATCH] EL7,8: no such package iptables-ipv6 --- el/rtpengine.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/el/rtpengine.spec b/el/rtpengine.spec index 85ed4e0c5..1c839e511 100644 --- a/el/rtpengine.spec +++ b/el/rtpengine.spec @@ -32,12 +32,14 @@ The Sipwise NGCP rtpengine is a proxy for RTP traffic and other UDP based media traffic. It's meant to be used with the Kamailio SIP proxy and forms a drop-in replacement for any of the other available RTP and media proxies. - +%if 0%{?rhel} < 7 +%define iptables_ipv6 1 +%endif %package kernel Summary: NGCP rtpengine in-kernel packet forwarding Group: System Environment/Daemons BuildRequires: gcc make redhat-rpm-config iptables-devel -Requires: iptables iptables-ipv6 +Requires: iptables %{?iptables_ipv6:iptables-ipv6} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}-dkms = %{version}-%{release}