]> git.pld-linux.org Git - packages/xen.git/commitdiff
- no point in having watchdog in a separate subpackage
authorMariusz Mazur <mmazur@pld-linux.org>
Fri, 28 Oct 2011 21:05:31 +0000 (21:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xen.spec -> 1.89

xen.spec

index 3a5036f8c0847bc1df7f650ab6442bddd8e2b240..6256779f5261333d7eb699d2db64ceb9cfe1f330 100644 (file)
--- a/xen.spec
+++ b/xen.spec
@@ -10,7 +10,7 @@ Summary:      Xen - a virtual machine monitor
 Summary(pl.UTF-8):     Xen - monitor maszyny wirtualnej
 Name:          xen
 Version:       4.1.2
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         Applications/System
 Source0:       http://bits.xensource.com/oss-xen/release/%{version}/%{name}-%{version}.tar.gz
@@ -148,17 +148,6 @@ xend daemon.
 %description xend -l pl.UTF-8
 Demon xend.
 
-%package watchdog
-Summary:       watchdog daemon
-Summary(pl.UTF-8):     Demon watchdog
-Group:         Daemons
-
-%description watchdog
-watchdog daemon.
-
-%description watchdog -l pl.UTF-8
-Demon watchdog.
-
 %package -n python-xen
 Summary:       xen Python modules
 Summary(pl.UTF-8):     ModuĊ‚y Pythona dla xena
@@ -225,6 +214,7 @@ cp -a tools/xenmon/README{,.xenmon}
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/chkconfig --add xen-watchdog
 /sbin/chkconfig --add xencommons
 /sbin/chkconfig --add xendomains
 
@@ -235,6 +225,9 @@ if [ "$1" = "0" ]; then
 
        %service xencommons stop
        /sbin/chkconfig --del xencommons
+
+       %service xen-watchdog stop
+       /sbin/chkconfig --del xen-watchdog
 fi
 
 %post  xend
@@ -246,15 +239,6 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del xend
 fi
 
-%post  watchdog
-/sbin/chkconfig --add xen-watchdog
-
-%preun watchdog
-if [ "$1" = "0" ]; then
-       %service xen-watchdog stop
-       /sbin/chkconfig --del xen-watchdog
-fi
-
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
@@ -267,6 +251,7 @@ fi
 /boot/%{name}-syms-%{version}
 /boot/%{name}-%{version}.gz
 /boot/%{name}.gz
+%attr(754,root,root) /etc/rc.d/init.d/xen-watchdog
 %attr(754,root,root) /etc/rc.d/init.d/xencommons
 %attr(754,root,root) /etc/rc.d/init.d/xendomains
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/*
@@ -332,11 +317,6 @@ fi
 %attr(755,root,root) %{_sbindir}/xm
 %dir %attr(700,root,root) /var/run/xend
 
-%files watchdog
-%defattr(644,root,root,755)
-%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/xen-watchdog
-%attr(755,root,root) %{_sbindir}/xenwatchdogd
-
 %files -n python-xen
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/fsimage.so
This page took 0.039902 seconds and 4 git commands to generate.