From 76c40e48c11058892714e7ffcc6752f3c7dfd434 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Nov 10 2005 20:43:40 +0000 Subject: - actually enable the initscripts --- diff --git a/xen.spec b/xen.spec index 804d0d9..591af33 100644 --- a/xen.spec +++ b/xen.spec @@ -3,7 +3,7 @@ Summary: Xen is a virtual machine monitor Name: xen Version: 3.0 -Release: 0.20051109.fc5.1 +Release: 0.20051109.fc5.2 Group: Development/Libraries License: GPL URL: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/index.html @@ -36,7 +36,7 @@ or makes fun of you in front of your friends. %prep %setup -q -n xen-unstable %patch0 -p1 -b .misc -%patch1 -p1 +%patch1 -p1 -b .init %patch2 -p1 %build @@ -58,6 +58,16 @@ rm -rf %{buildroot}%{_sysconfdir}/hotplug mkdir -p %{buildroot}/etc/rc.d mv -f %{buildroot}/etc/init.d %{buildroot}/etc/rc.d/ +%post +/sbin/chkconfig --add xend +/sbin/chkconfig --add xendomains + +%preun +if [ $1 = 0 ]; then + /sbin/chkconfig --del xend + /sbin/chkconfig --del xendomains +fi + %clean rm -rf $RPM_BUILD_ROOT @@ -88,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_localstatedir}/run/xenstored %changelog +* Thu Nov 10 2005 Jeremy Katz - 3.0-0.20051109.fc5.2 +- actually enable the initscripts + * Wed Nov 9 2005 Jeremy Katz - 3.0-0.20051109.fc5.1 - udev rules moved