1
0

Packaging fixes for RHEL/SLES

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2012-06-30 17:59:56 +00:00 committed by Git OBS Bridge
parent b8d4af03a2
commit 9cf4ae84ce

View File

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