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