diff --git a/libmnl.changes b/libmnl.changes index 0ba969e..d7bf504 100644 --- a/libmnl.changes +++ b/libmnl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 9 11:59:51 UTC 2014 - jengelh@inai.de + +- Remove extra directory pkg, one level is enough. + ------------------------------------------------------------------- Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de diff --git a/libmnl.spec b/libmnl.spec index 90919cc..eb85714 100644 --- a/libmnl.spec +++ b/libmnl.spec @@ -17,13 +17,13 @@ Name: libmnl -Summary: Minimalistic Netlink communication library -License: LGPL-2.1+ -Group: Productivity/Networking/Security %define lname %{name}0 Version: 1.0.3 Release: 0 Url: http://netfilter.org/projects/libmnl/ +Summary: Minimalistic Netlink communication library +License: LGPL-2.1+ +Group: Productivity/Networking/Security #Git-Clone: git://git.netfilter.org/libmnl Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2 @@ -72,15 +72,14 @@ that allows you to re-use code and to avoid re-inventing the wheel. if [ ! -e configure ]; then autoreconf -fi; fi; -%configure --includedir="%_includedir/pkg/%name" +%configure --includedir="%_includedir/%name" make %{?_smp_mflags} %install %make_install -rm -f "%buildroot/%_libdir"/*.la; - -%post -n %lname -p /sbin/ldconfig +rm -f "%buildroot/%_libdir"/*.la +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname @@ -89,7 +88,7 @@ rm -f "%buildroot/%_libdir"/*.la; %files -n %name-devel %defattr(-,root,root) -%_includedir/pkg/ +%_includedir/%name/ %_libdir/libmnl.so %_libdir/pkgconfig/libmnl.pc