From 32a34813713c0eaa186218f48f7c50788421d50c48f21014eb18cf361f7e9b0f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Dec 2014 23:52:14 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_queue?expand=0&rev=39 --- libnetfilter_queue.changes | 6 ++++++ libnetfilter_queue.spec | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libnetfilter_queue.changes b/libnetfilter_queue.changes index e5f113a..80b84b6 100644 --- a/libnetfilter_queue.changes +++ b/libnetfilter_queue.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 8 23:51:21 UTC 2014 - jengelh@inai.de + +- Drop %version from subincludedir, it tends to break recompiles of + already-built trees on library updates. + ------------------------------------------------------------------- Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec index 978294e..e481e5f 100644 --- a/libnetfilter_queue.spec +++ b/libnetfilter_queue.spec @@ -74,15 +74,14 @@ libnetfilter_queue has been previously known as libnfnetlink_queue. %patch -P 1 -p1 %build -%configure --disable-static --includedir=%_includedir/%name-%version +%configure --disable-static --includedir="%_includedir/%name" make %{?_smp_mflags} KERNELDIR="ignore"; %install -make install DESTDIR="%buildroot" KERNELDIR="ignore"; -rm -f "%buildroot/%_libdir"/*.la; - -%post -n %lname -p /sbin/ldconfig +%make_install KERNELDIR="ignore" +rm -f "%buildroot/%_libdir"/*.la +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname @@ -91,7 +90,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files devel %defattr(-,root,root) -%_includedir/%name-%version +%_includedir/%name/ %_libdir/libnetfilter_queue.so %_libdir/pkgconfig/libnetfilter_queue.pc