From 1b9ce7bbfacaf979bddb7662fdd29e47b317fa21ba3cf95f6220540629ed98f4 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 29 Sep 2014 08:28:21 +0000 Subject: [PATCH] - Drop %version from the path to avoid reruns of configure on version updates. OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnfnetlink?expand=0&rev=41 --- libnfnetlink.changes | 7 ++++--- libnfnetlink.spec | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/libnfnetlink.changes b/libnfnetlink.changes index b286407..fd56a5f 100644 --- a/libnfnetlink.changes +++ b/libnfnetlink.changes @@ -1,8 +1,9 @@ ------------------------------------------------------------------- -Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de +Mon Sep 29 08:27:16 UTC 2014 - jengelh@inai.de -- Move include files to /usr/include/pkg, like done in many other - packages +- Move include files to /usr/include/pkg to guard against wrong + path inclusion. Drop %version from the path to avoid reruns of + configure on version updates. ------------------------------------------------------------------- Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com diff --git a/libnfnetlink.spec b/libnfnetlink.spec index 32f8640..1cd8757 100644 --- a/libnfnetlink.spec +++ b/libnfnetlink.spec @@ -63,12 +63,12 @@ This library is not meant as a public API for application developers. It is only used by other netfilter.org projects, such as libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack. -%package -n %name-devel +%package devel Requires: %libsoname = %version Summary: Low-level library for Netfilter-related kernel/userspace communication Group: Development/Libraries/C and C++ -%description -n %name-devel +%description devel libnfnetlink is the low-level library for netfilter related kernel/userspace communication. It provides a generic messaging infrastructure for in-kernel netfilter subsystems (such as @@ -86,7 +86,7 @@ libnetfilter_log, libnetfilter_queue or libnetfilter_conntrack. if [ ! -e configure ]; then autoreconf -fi; fi -%configure --disable-static --includedir="%_includedir/pkg/%name-%version" +%configure --disable-static --includedir="%_includedir/pkg/%name" make %{?_smp_mflags} %install @@ -102,7 +102,7 @@ rm -f "%buildroot/%_libdir"/*.la; %doc COPYING README %_libdir/libnfnetlink.so.0* -%files -n %name-devel +%files devel %defattr(-,root,root) %_includedir/pkg/ %_libdir/libnfnetlink.so