From: Anas Nashif Date: Fri, 17 May 2013 04:15:45 +0000 (-0400) Subject: add ldconfig to post/postun X-Git-Tag: accepted/tizen/20130520.103443~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibnl2.git;a=commitdiff_plain;h=4c9b6920b2883b1aae86d482f87768f4541c1aeb add ldconfig to post/postun --- diff --git a/packaging/libnl2.spec b/packaging/libnl2.spec index 2248f10..2ce83bc 100644 --- a/packaging/libnl2.spec +++ b/packaging/libnl2.spec @@ -1,11 +1,9 @@ -#sbs-git:slp/pkgs/l/libnl2 - Name: libnl2 Summary: Library for netlink sockets Version: 2.0 Release: 2 Group: System/Network -License: GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 +License: GPL-2.1 Source0: %{name}-%{version}.tar.gz BuildRequires: bison BuildRequires: flex @@ -37,8 +35,6 @@ CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --prefix=/usr -#No much jobs, make sure -j1 -#make %{?jobs:-j%jobs} make -j1 %install @@ -47,6 +43,11 @@ rm -rf %{buildroot} rm %{buildroot}/usr/etc/libnl/pktloc + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %files %defattr(-,root,root,-) %{_libdir}/libnl*.so.*