Commit 2b3b6083 by dlezcano

From: Daniel Lezcano <daniel.lezcano@free.fr>

parent 4e2121f5
...@@ -84,27 +84,9 @@ make -j$ncpus ...@@ -84,27 +84,9 @@ make -j$ncpus
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
%makeinstall
%clean %clean
rm -rf %{buildroot} 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 chmod ugo+w /var/lxc
PATH=$PATH:/usr/sbin:/sbin PATH=$PATH:/usr/sbin:/sbin
...@@ -144,13 +126,14 @@ fi ...@@ -144,13 +126,14 @@ fi
%{_bindir}/* %{_bindir}/*
%{_mandir}/* %{_mandir}/*
# %post -p /sbin/ldconfig
# %postun -p /sbin/ldconfig
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/%{name}/* %{_includedir}/%{name}/*
%{_libdir}/*.a %{_libdir}/*.a
%post devel
%changelog %changelog
* Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0 * Sun Aug 3 2008 Daniel Lezcano <dlezcano@fr.ibm.com> - Version 0.1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment