From 9cf4ae84ce164c519ca5ccb0886a28d40e6bbebaf748ca44a44f46c093c5c958 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Jun 2012 17:59:56 +0000 Subject: [PATCH] Packaging fixes for RHEL/SLES OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=19 --- libnetfilter_log.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec index 52f2752..f8d59ba 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -29,11 +29,9 @@ Source: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar. Source2: ftp://ftp.netfilter.org/pub/libnetfilter_log/%name-%version.tar.bz2.sig Source3: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: autoconf -BuildRequires: automake >= 1.6 -BuildRequires: libtool +#BuildRequires: autoconf, automake >= 1.6, libtool BuildRequires: pkgconfig >= 0.21 -%if 0%{?suse_version} >= 1210 +%if 0%{?suse_version} >= 1140 || 0%{?fedora_version} BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41 %else BuildRequires: libnfnetlink-devel >= 0.0.41 @@ -71,9 +69,6 @@ logging. This library has been previously known as libnfnetlink_log. %setup -q %build -if [ ! -e configure ]; then - ./autogen.sh; -fi; %configure --disable-static --includedir=%_includedir/%name-%version make %{?_smp_mflags}