From f39aa6d2bdf5fc712739e80dc7a8228378bc7afdbaca575879c13cb3ca19335e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 1 Jan 2012 00:14:31 +0000 Subject: [PATCH] BuildRequire updates OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=13 --- libnetfilter_log.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/libnetfilter_log.spec b/libnetfilter_log.spec index d5b0ae5..bf04f37 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -1,7 +1,7 @@ # # spec file for package libnetfilter_log # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,11 +23,12 @@ Version: 1.0.0 Release: 1 License: GPL-2.0 Group: Productivity/Networking/Security -URL: http://netfilter.org/projects/libnetfilter_log/ +Url: http://netfilter.org/projects/libnetfilter_log/ Source: http://netfilter.org/projects/libnetfilter_log/files/%name-%version.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libnfnetlink-devel >= 0.0.41 pkgconfig >= 0.19 +BuildRequires: autoconf automake >= 1.6 libtool +BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41 Summary: Userspace library for accessing logged packets %description @@ -38,7 +39,6 @@ logging. This library has been previously known as libnfnetlink_log. %package -n %lname Group: System/Libraries -PreReq: glibc Summary: Userspace library for accessing logged packets %description -n %lname @@ -62,12 +62,15 @@ 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} %install %makeinstall -find %buildroot -name "*.la" -delete +rm -f "%buildroot/%_libdir"/*.la; %post -n %lname -p /sbin/ldconfig @@ -75,8 +78,8 @@ find %buildroot -name "*.la" -delete %files -n %lname %defattr(-,root,root) -%_libdir/libnetfilter_log.so.* -%_libdir/libnetfilter_log_libipulog.so.* +%_libdir/libnetfilter_log.so.1* +%_libdir/libnetfilter_log_libipulog.so.1* %files devel %defattr(-,root,root)