From 5d930c329cae5c8486b8b339e93c505a67486819be0a942779778f013b0eea66 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 1 Aug 2011 18:28:45 +0000 Subject: [PATCH] Make build work for Fedorean systems OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iptables?expand=0&rev=22 --- iptables.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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