1 %define name NodeUpdate
3 %define release 1%{?pldistro:.%{pldistro}}%{?date:.%{date}}
6 Packager: PlanetLab Central <support@planet-lab.org>
7 Distribution: PlanetLab 4.1
8 URL: http://cvs.planet-lab.org/cvs/NodeUpdate
10 Summary: PlanetLab service to periodically update node RPMS
14 Requires: python2 >= 2.2, yum >= 2.0.3-3_planetlab
16 Group: System Environment/Base
17 Source: %{name}-%{version}.tar.gz
18 BuildRoot: %{_tmppath}/%{name}-%{version}root
19 Requires: vixie-cron, logrotate
22 PlanetLab service to periodically update node RPMS
32 install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py
33 install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate
36 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
40 %attr(0755,root,root) /usr/bin/NodeUpdate.py*
41 %attr(0644,root,root) /etc/logrotate.d/NodeUpdate
46 /usr/bin/NodeUpdate.py updatecron
50 /usr/bin/NodeUpdate.py removecron
58 * Fri Aug 10 2007 Faiyaz Ahmed <faiyaza@cs.princeton.edu>
59 - Rebuild RPM Database nightly to avoid corruption
60 - Move working directory from /usr/local to /usr/bin
62 * Tue Nov 16 2004 Mark Huang <mlhuang@cs.princeton.edu>
63 - cron job now dumps to /var/log/NodeUpdate instead of spewing mail
64 - cron job now runs once a day instead of once an hour
66 * Tue Jun 22 2004 Aaron K <alk@cs.princeton.edu>
67 - added better support for different groups
68 - added support for deleting rpms
70 * Mon Apr 12 2004 Aaron K <alk@cs.princeton.edu>
71 - updated for new build process
73 * Mon Feb 2 2004 Aaron K <alk@cs.princeton.edu>
74 - new yum option for ssl cert dir used
75 - added noreboot option which ignores the reboot flag
76 (useful during install and/or boot time)
78 * Tue Oct 28 2003 Aaron K <Aaron.L.Klingaman@intel.com>