diff --git a/iptables.spec b/iptables.spec index b0b3c21..ae9417b 100644 --- a/iptables.spec +++ b/iptables.spec @@ -32,7 +32,13 @@ Source: %name-%version.tar.xz Patch1: iptables-batch.patch Url: http://netfilter.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: pkg-config sgmltool xz +%if 0%{?suse_version} +BuildRequires: sgmltool +%endif +%if 0%{?fedora_version} +BuildRequires: sgml-common +%endif +BuildRequires: pkgconfig, xz %description Iptables is used to set up, maintain, and inspect the tables of IP