diff --git a/conntrack-tools.spec b/conntrack-tools.spec index b2452fb..647239a 100644 --- a/conntrack-tools.spec +++ b/conntrack-tools.spec @@ -20,22 +20,30 @@ Name: conntrack-tools Version: 1.2.1 Release: 0 Url: http://conntrack-tools.netfilter.org/ +Summary: Userspace tools for interacting with the Connection Tracking System +License: GPL-2.0+ +Group: Productivity/Networking/Security #Git-Clone: git://git.netfilter.org/conntrack-tools Source: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2 Source2: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2.sig Patch1: ct-null.diff + BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: flex >= 2.5.33 BuildRequires: pkgconfig >= 0.21 +%if 0%{?suse_version} >= 1140 BuildRequires: pkgconfig(libmnl) >= 1.0.0 BuildRequires: pkgconfig(libnetfilter_conntrack) >= 1.0.1 BuildRequires: pkgconfig(libnetfilter_cttimeout) >= 1.0.0 BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0 -Summary: Userspace tools for interacting with the Connection Tracking System -License: GPL-2.0+ -Group: Productivity/Networking/Security +%else +BuildRequires: libmnl-devel >= 1.0.0 +BuildRequires: libnetfilter_conntrack-devel >= 1.0.1 +BuildRequires: libnetfilter_cttimeout-devel >= 1.0.0 +BuildRequires: libnfnetlink-devel >= 1.0.0 +%endif %description The conntrack-tools are a set of tools targeted at system