Packaging fixes for RHEL/SLES

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/conntrack-tools?expand=0&rev=27
This commit is contained in:
Jan Engelhardt 2012-06-30 13:30:54 +00:00 committed by Git OBS Bridge
parent f1afea6b15
commit e80ed6de79

View File

@ -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