From 0a75e1137d31264a3ef83809b10172d045cca89d105bc8c0364869d2659a5547 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Dec 2011 20:55:23 +0000 Subject: [PATCH] Separate includedir OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnfnetlink?expand=0&rev=16 --- libnfnetlink.changes | 5 +++++ libnfnetlink.spec | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/libnfnetlink.changes b/libnfnetlink.changes index 76d58fb..6352e20 100644 --- a/libnfnetlink.changes +++ b/libnfnetlink.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 29 20:50:58 UTC 2011 - jengelh@medozas.de + +- Use separate include dir to detect compile errors + ------------------------------------------------------------------- Tue Nov 22 15:18:35 UTC 2011 - jengelh@medozas.de diff --git a/libnfnetlink.spec b/libnfnetlink.spec index bade301..18fb56e 100644 --- a/libnfnetlink.spec +++ b/libnfnetlink.spec @@ -47,8 +47,6 @@ 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. -%define debug_package_requires %libsoname = %version-%release - %package -n %libsoname Group: System/Libraries Summary: Low-level library for Netfilter-related kernel/userspace communication @@ -90,9 +88,9 @@ tar -xf "%{S:0}" --use=xz; %build if [ ! -e configure ]; then - ./autogen.sh + autoreconf -fi; fi -%configure --disable-static +%configure --disable-static --includedir=%_includedir/%name-%version make %{?_smp_mflags} %install @@ -110,7 +108,7 @@ find %buildroot -name "*.la" -delete %files -n %name-devel %defattr(-,root,root) -%_includedir/libnfnetlink +%_includedir/*nfnetlink* %_libdir/libnfnetlink.so %_libdir/pkgconfig/libnfnetlink.pc