From 90137252526cb16d1ae2e567e86267026d8be5fa307a7ec74a8710aec8bc7692 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 23 Sep 2014 21:15:48 +0000 Subject: [PATCH] Move to /usr/include/pkg OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=30 --- libmnl.changes | 6 ++++++ libmnl.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libmnl.changes b/libmnl.changes index c75cbd8..0ba969e 100644 --- a/libmnl.changes +++ b/libmnl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de + +- Move include files to /usr/include/pkg, like done in many other + packages + ------------------------------------------------------------------- Thu Apr 24 07:32:10 UTC 2014 - dmueller@suse.com diff --git a/libmnl.spec b/libmnl.spec index 902edc5..90919cc 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -72,11 +72,11 @@ that allows you to re-use code and to avoid re-inventing the wheel. if [ ! -e configure ]; then autoreconf -fi; fi; -%configure --includedir=%_includedir/%name-%version +%configure --includedir="%_includedir/pkg/%name" make %{?_smp_mflags} %install -%makeinstall +%make_install rm -f "%buildroot/%_libdir"/*.la; %post -n %lname -p /sbin/ldconfig @@ -89,7 +89,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files -n %name-devel %defattr(-,root,root) -%_includedir/libmnl* +%_includedir/pkg/ %_libdir/libmnl.so %_libdir/pkgconfig/libmnl.pc