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 f60f391..90919cc 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -25,7 +25,6 @@ Version: 1.0.3 Release: 0 Url: http://netfilter.org/projects/libmnl/ -#Freecode-URL: http://freecode.com/projects/libmnl/ #Git-Clone: git://git.netfilter.org/libmnl Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2 Source2: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2.sig @@ -73,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 @@ -90,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