diff --git a/libnetfilter_acct.changes b/libnetfilter_acct.changes index caf25d5..d344230 100644 --- a/libnetfilter_acct.changes +++ b/libnetfilter_acct.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Dec 8 23:39:19 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_acct.spec b/libnetfilter_acct.spec index 358c814..b713c5f 100644 --- a/libnetfilter_acct.spec +++ b/libnetfilter_acct.spec @@ -61,15 +61,14 @@ Netfilter extended accounting infrastructure. %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 @@ -78,7 +77,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files devel %defattr(-,root,root) -%_includedir/%name-%version +%_includedir/%name/ %_libdir/libnetfilter_acct.so %_libdir/pkgconfig/libnetfilter_acct.pc