- anacron isn't standard cron daemon!
authorundefine <undefine@pld-linux.org>
Sun, 5 Nov 2000 12:55:17 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removing obsoletes & provides crondeamons
- rename cron -> anacron

Changed files:
    anacron.spec -> 1.7

anacron.spec

index 576cafcc58699d141816b722f7958d1244af8e71..af60d647d036766c2d39f6d0793dbe1c01535362 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A cron-like program that can run jobs lost during downtime
 Summary(pl):   Wersja crona z mo¿liwo¶ci± uruchamiania zapomnianych procesów
 Name:          anacron
 Version:       2.3
-Release:       10
+Release:       11
 License:       GPL
 Group:         Daemons
 Group(de):     Server
@@ -12,11 +12,7 @@ Source1:     %{name}tab
 Source2:       %{name}.init
 Requires:      /bin/sh
 Prereq:                /sbin/chkconfig
-Provides:      crondaemon
-Provides:      crontabs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     vixie-cron
-Obsoletes:     hc-cron
 
 %description
 Anacron (like `anac(h)ronistic') is a periodic command scheduler. It
@@ -80,21 +76,21 @@ done
 gzip -9nf ChangeLog COPYING README TODO
 
 %post
-/sbin/chkconfig --add cron
+/sbin/chkconfig --add anacron
 
-if [ -f /var/lock/subsys/crond ]; then
-       /etc/rc.d/init.d/crond restart >&2
+if [ -f /var/lock/subsys/anacron ]; then
+       /etc/rc.d/init.d/anacron restart >&2
 else
-       echo "Run \"/etc/rc.d/init.d/crond start\" to start Anacron daemon."
+       echo "Run \"/etc/rc.d/init.d/anacron start\" to start Anacron daemon."
 fi
 
 %preun
-/sbin/chkconfig --del cron
+/sbin/chkconfig --del anacron
 if [ "$1" = "0" ];then
-       if [ -f /var/lock/subsys/crond ]; then
-               /etc/rc.d/init.d/crond stop >&2
+       if [ -f /var/lock/subsys/anacron ]; then
+               /etc/rc.d/init.d/anacron stop >&2
        fi
-       /sbin/chkconfig --del cron
+       /sbin/chkconfig --del anacron
 fi
 
 %clean 
This page took 0.032599 seconds and 4 git commands to generate.