SPECS: vixie-cron.spec - cleanups - no need to create localized ma...
glen
glen at pld-linux.org
Wed Feb 6 21:09:46 CET 2008
Author: glen Date: Wed Feb 6 20:09:46 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanups
- no need to create localized man link (english one already is man-link); rel 18
---- Files affected:
SPECS:
vixie-cron.spec (1.134 -> 1.135)
---- Diffs:
================================================================
Index: SPECS/vixie-cron.spec
diff -u SPECS/vixie-cron.spec:1.134 SPECS/vixie-cron.spec:1.135
--- SPECS/vixie-cron.spec:1.134 Wed Feb 6 21:01:06 2008
+++ SPECS/vixie-cron.spec Wed Feb 6 21:09:41 2008
@@ -25,7 +25,7 @@
Summary(zh_CN.UTF-8): 用于在预设时间执行指定程序的 Vixie cron 后台程序。
Name: vixie-cron
Version: 4.1
-Release: 17
+Release: 18
License: distributable
Group: Daemons
Source0: ftp://ftp.isc.org/isc/cron/cron_%{version}.shar
@@ -224,33 +224,32 @@
install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/cron
for a in fi fr id ja ko pl ; do
- if test -f $a/man1/crontab.1 ; then
+ if test -f $a/man1/crontab.1; then
install -d $RPM_BUILD_ROOT%{_mandir}/$a/man1
install $a/man1/crontab.1 $RPM_BUILD_ROOT%{_mandir}/$a/man1
fi
- if test -f $a/man5/crontab.5 ; then
+ if test -f $a/man5/crontab.5; then
install -d $RPM_BUILD_ROOT%{_mandir}/$a/man5
install $a/man5/crontab.5 $RPM_BUILD_ROOT%{_mandir}/$a/man5
fi
- if test -f $a/man8/cron.8 ; then
+ if test -f $a/man8/cron.8; then
install -d $RPM_BUILD_ROOT%{_mandir}/$a/man8
install $a/man8/cron.8 $RPM_BUILD_ROOT%{_mandir}/$a/man8
- echo .so cron.8 > $RPM_BUILD_ROOT%{_mandir}/$a/man8/crond.8
fi
done
touch $RPM_BUILD_ROOT/var/log/cron
-cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron/cron.allow << EOF
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron/cron.allow << 'EOF'
# cron.allow This file describes the names of the users which are
# allowed to use the local cron daemon
root
EOF
-cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron/cron.deny << EOF2
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/cron/cron.deny << 'EOF'
# cron.deny This file describes the names of the users which are
# NOT allowed to use the local cron daemon
-EOF2
+EOF
%clean
rm -rf $RPM_BUILD_ROOT
@@ -264,7 +263,7 @@
touch /var/log/cron
chgrp crontab /var/log/cron
chmod 660 /var/log/cron
-%service crond restart "cron daemon"
+%service crond restart "Cron Daemon"
%preun
if [ "$1" = "0" ]; then
@@ -278,6 +277,7 @@
fi
%triggerpostun -- hc-cron
+# reinstall crond init.d links, which could be different
/sbin/chkconfig --del crond
/sbin/chkconfig --add crond
@@ -312,6 +312,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.135 2008-02-06 20:09:41 glen
+- cleanups
+- no need to create localized man link (english one already is man-link); rel 18
+
Revision 1.134 2008-02-06 20:01:06 glen
- drop old triggers (no point having them now and i can't really test do they work correctly)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/vixie-cron.spec?r1=1.134&r2=1.135&f=u
More information about the pld-cvs-commit
mailing list