From 72070d854fc1435a854e35f06ef8a4cf74dca8a54b93f02135d85937a75f3244 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 8 Dec 2014 23:51:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_log?expand=0&rev=31 --- libnetfilter_log.changes | 6 ++++++ libnetfilter_log.spec | 11 +++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/libnetfilter_log.changes b/libnetfilter_log.changes index 3894520..e985de3 100644 --- a/libnetfilter_log.changes +++ b/libnetfilter_log.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 8 23:47:57 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_log.spec b/libnetfilter_log.spec index 2848e68..bd94e5c 100644 --- a/libnetfilter_log.spec +++ b/libnetfilter_log.spec @@ -67,15 +67,14 @@ logging. This library has been previously known as libnfnetlink_log. %setup -q %build -%configure --disable-static --includedir=%_includedir/%name-%version +%configure --disable-static --includedir="%_includedir/%name" make %{?_smp_mflags} %install -make install DESTDIR="%buildroot"; -rm -f "%buildroot/%_libdir"/*.la; - -%post -n %lname -p /sbin/ldconfig +%make_install +rm -f "%buildroot/%_libdir"/*.la +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname @@ -85,7 +84,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files devel %defattr(-,root,root) -%_includedir/%name-%version +%_includedir/%name/ %_libdir/libnetfilter_log.so %_libdir/libnetfilter_log_libipulog.so %_libdir/pkgconfig/libnetfilter_log.pc