From ba22fb0f7e6edaf0c7c59555803c2b37b2412bfb7279ed18508c204825afdc74 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Jun 2012 00:04:30 +0000 Subject: [PATCH] Enable builds for RHEL/SLES OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=17 --- libnetfilter_log.spec | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec index a51771a..81b7d72 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -16,21 +16,28 @@ # - Name: libnetfilter_log %define lname %{name}1 Version: 1.0.1 -Release: 1 +Release: 0 +Summary: Userspace library for accessing logged packets License: GPL-2.0 Group: Productivity/Networking/Security Url: http://netfilter.org/projects/libnetfilter_log/ + Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2 Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig Source3: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf automake >= 1.6 libtool -BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41 -Summary: Userspace library for accessing logged packets +BuildRequires: autoconf +BuildRequires: automake >= 1.6 +BuildRequires: libtool +BuildRequires: pkgconfig >= 0.21 +%if 0%{?suse_version} >= 1210 +BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41 +%else +BuildRequires: libnfnetlink-devel >= 0.0.41 +%endif %description libnetfilter_log is a userspace library providing interface to @@ -39,8 +46,8 @@ part of a system that deprecates the old syslog/dmesg based packet logging. This library has been previously known as libnfnetlink_log. %package -n %lname -Group: System/Libraries Summary: Userspace library for accessing logged packets +Group: System/Libraries %description -n %lname libnetfilter_log is a userspace library providing interface to @@ -49,9 +56,10 @@ part of a system that deprecates the old syslog/dmesg based packet logging. This library has been previously known as libnfnetlink_log. %package devel -Group: Development/Libraries/C and C++ -Requires: %lname = %version, libnfnetlink-devel +Requires: %lname = %version +Requires: libnfnetlink-devel Summary: Userspace library for accessing logged packets +Group: Development/Libraries/C and C++ %description devel libnetfilter_log is a userspace library providing interface to