diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec index 1f80bf5..e0ef69b 100644 --- a/libnetfilter_queue.spec +++ b/libnetfilter_queue.spec @@ -82,7 +82,7 @@ fi; make %{?_smp_mflags} %install -%makeinstall +make install DESTDIR="%buildroot"; rm -f "%buildroot/%_libdir"/*.la; %post -n %libsoname -p /sbin/ldconfig @@ -95,7 +95,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files devel %defattr(-,root,root) -%_includedir/libnetfilter_queue* +%_includedir/%name-%version %_libdir/libnetfilter_queue.so %_libdir/pkgconfig/libnetfilter_queue.pc