diff --git a/el/rtpengine.spec b/el/rtpengine.spec index 004f08ae6..ea0e61a26 100644 --- a/el/rtpengine.spec +++ b/el/rtpengine.spec @@ -33,12 +33,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}