From 259ceda0ea720f1bd8c93068e78667c3599bf8d4 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 30 Dec 2003 19:20:44 +0000 Subject: [PATCH] - since dynamic libraries will be installed now, call /sbin/ldconfig - other updates... git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@533 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/util-vserver.spec.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/util-vserver/util-vserver.spec.in b/util-vserver/util-vserver.spec.in index fe9d9f0..7d5ab6e 100644 --- a/util-vserver/util-vserver.spec.in +++ b/util-vserver/util-vserver.spec.in @@ -76,6 +76,8 @@ set_ipv4root system call. rm -rf $RPM_BUILD_ROOT %__make DESTDIR="$RPM_BUILD_ROOT" install install-vserverdir +rm -f $RPM_BUILD_ROOT/%_libdir/*.la + %clean rm -rf $RPM_BUILD_ROOT @@ -110,6 +112,10 @@ test "$1" != 0 || /sbin/chkconfig --del vservers test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : +%post core -p /sbin/ldconfig +%postun core -p /sbin/ldconfig + + %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README THANKS @@ -124,6 +130,7 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %exclude %pkglibdir/vserver-build* %exclude %pkglibdir/vserver-setup* %exclude %pkglibdir/vunify +%_sbindir/exec-cd %_sbindir/rebootmgr %_sbindir/vdu %_sbindir/vfiles @@ -159,11 +166,12 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %files core %defattr(-,root,root,-) +%_libdir/*.so.* %_sbindir/chbind %_sbindir/chcontext -%_sbindir/ctx-kill %_sbindir/new-namespace %_sbindir/reducecap +%_sbindir/vkill %_sbindir/util-vserver-vars %pkglibdir/util-vserver-vars %_mandir/*/chbind* @@ -206,6 +214,7 @@ test "$1" = 0 || %{_initrddir}/rebootmgr condrestart >/dev/null || : %defattr(-,root,root,-) %_includedir/*.h %_libdir/*.a +%_libdir/*.so %_libdir/pkgconfig/* -- 1.8.1.5