Vanilla Development Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/rpm



Date:	Thursday July 15, 1999 @ 18:52
Author:	tanner

Update of /home/netrek/cvsroot/Vanilla/rpm
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv12500/rpm

Modified Files:
	Vanilla.spec netrek.crontab 
Log Message:
	* rpm/netrek.crontab: Small change to the comments to allow the
	sed script to be able to remove the cron entry automatically.

	* tools/Makefile (install): Need the tools Makefile to install the
	updatekeys shell script.

	* rpm/Vanilla.spec (%post): Need to do crontab -u games for all
	invocations of crontab. Want to make sure we get games' cron
	entries not roots.

	* rpm/Vanilla.spec (Requires): Changed cron to vixie-cron.  

	* rpm/Vanilla.spec (%files): Changed the %files section for the
	server. Needed to break out each file so I could tag certain files
	as %config.




****************************************

Index: Vanilla/rpm/Vanilla.spec
diff -u Vanilla/rpm/Vanilla.spec:1.11 Vanilla/rpm/Vanilla.spec:1.12
--- Vanilla/rpm/Vanilla.spec:1.11	Thu Jul 15 15:25:03 1999
+++ Vanilla/rpm/Vanilla.spec	Thu Jul 15 18:52:01 1999
@@ -10,8 +10,8 @@
 Source1: netrek.init
 Source2: netrek.logrotate
 Source3: netrek.crontab
-Prereq: sed, cron
-Requires: gtk > 1.2, glib > 1.2, cron, sed
+Prereq: sed, vixie-cron
+Requires: gtk > 1.2, glib > 1.2, vixie-cron, sed
 BuildRoot: /var/tmp/netrek-buildroot
 
 %description
@@ -121,7 +121,7 @@
 # entries to the crontab. Put the crontab back into cron. Finally clean
 # up after ourselves.
 
-crontab -l > /var/tmp/netrek.crontab.$$
+crontab -u games -l > /var/tmp/netrek.crontab.$$
 cat /usr/games/netrek/tools/netrek.crontab >> /var/tmp/netrek.crontab.$$
 crontab -u games /var/tmp/netrek.crontab.$$
 rm -f /var/tmp/netrek.crontab.$$
@@ -135,7 +135,7 @@
 # entries that need to be removed. This might come back and bite us in
 # the butt.
 
-crontab -l > /var/tmp/netrek.crontab.$$
+crontab -u games -l > /var/tmp/netrek.crontab.$$
 cat /var/tmp/netrek.crontab.$$ | sed '/netrek/d' > /var/tmp/netrek.crontab2.$$
 crontab -u games /var/tmp/netrek.crontab2.$$
 rm -f  /var/tmp/netrek.crontab.$$  /var/tmp/netrek.crontab2.$$
@@ -196,7 +196,10 @@
 %defattr(-, games, games)
 
 %changelog
+
 * Thu Jul 15 1999  Bob Tanner  <tanner@real-time.com>
+
+	- rpm/Vanilla.spec (Requires): Changed cron to vixie-cron.  
 
 	- rpm/Vanilla.spec (%files): Changed the %files section for the
 	server. Needed to break out each file so I could tag certain files
Index: Vanilla/rpm/netrek.crontab
diff -u Vanilla/rpm/netrek.crontab:1.1 Vanilla/rpm/netrek.crontab:1.2
--- Vanilla/rpm/netrek.crontab:1.1	Thu Jul 15 02:51:39 1999
+++ Vanilla/rpm/netrek.crontab	Thu Jul 15 18:52:01 1999
@@ -8,5 +8,5 @@
 #  month          0-12
 #  day of week    0-7 (0 or 7 is Sun, or use names)
 
-# Grab the keys every hour at the top of the hour
+# netrek: Grab the keys every hour at the top of the hour
 00 * * * /usr/games/netrek/tools/updatekeys