From: dlezcano Date: Sun, 25 Jan 2009 21:15:46 +0000 (+0000) Subject: From: Daniel Lezcano X-Git-Tag: lxc_0_6_0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b3b608310ae84b9574cc93a7dacf36b8dcc9926;p=thirdparty%2Flxc.git From: Daniel Lezcano Signed-off-by: Daniel Lezcano Signed-off-by: Daniel Lezcano --- diff --git a/lxc.spec.in b/lxc.spec.in index 2fcc3ab28..878d1d7c9 100644 --- a/lxc.spec.in +++ b/lxc.spec.in @@ -84,27 +84,9 @@ make -j$ncpus %install rm -rf %{buildroot} -%makeinstall - %clean rm -rf %{buildroot} -%post -if [ -d /var/lxc ]; then - for i in $(ls -1 /var/lxc); do - chmod -fR go-rwx /var/lxc/$i - done - mv /var/lxc /var/lxc.rpm-$$ -fi - -mkdir -p /var/lxc - -if [ -d /var/lxc.rpm-$$ ]; then - for i in $(ls -1 /var/lxc.rpm-$$); do - cp -a /var/lxc.rpm-$$/$i /var/lxc - done -fi - chmod ugo+w /var/lxc PATH=$PATH:/usr/sbin:/sbin @@ -144,13 +126,14 @@ fi %{_bindir}/* %{_mandir}/* +# %post -p /sbin/ldconfig +# %postun -p /sbin/ldconfig + %files devel %defattr(-,root,root) %{_includedir}/%{name}/* %{_libdir}/*.a -%post devel - %changelog * Sun Aug 3 2008 Daniel Lezcano - Version 0.1.0