X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeUpdate.spec;h=91201c9898bd90ae8f1909fa1b17f02b1e5f3fc6;hb=de75baf5ed93e3a75c6b18b24580e8744fb55381;hp=0972cf9f10dc2f90a010204d99e5259286c58e80;hpb=f1d565b274484d03172782d62a62a851a8736166;p=nodeupdate.git diff --git a/NodeUpdate.spec b/NodeUpdate.spec index 0972cf9..91201c9 100644 --- a/NodeUpdate.spec +++ b/NodeUpdate.spec @@ -1,10 +1,10 @@ %define name NodeUpdate -%define version 0.4 -%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define version 0.5 +%define release 2%{?pldistro:.%{pldistro}}%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central -Distribution: PlanetLab 3.0 +Distribution: PlanetLab 4.1 URL: http://cvs.planet-lab.org/cvs/NodeUpdate Summary: PlanetLab service to periodically update node RPMS @@ -29,7 +29,7 @@ PlanetLab service to periodically update node RPMS %install -install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/local/planetlab/bin/NodeUpdate.py +install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate %clean @@ -37,17 +37,17 @@ install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdat %files %defattr(-,root,root) -%attr(0755,root,root) /usr/local/planetlab/bin/NodeUpdate.py* +%attr(0755,root,root) /usr/bin/NodeUpdate.py* %attr(0644,root,root) /etc/logrotate.d/NodeUpdate %pre %post -/usr/local/planetlab/bin/NodeUpdate.py updatecron +/usr/bin/NodeUpdate.py updatecron %preun if [ "$1" = 0 ]; then - /usr/local/planetlab/bin/NodeUpdate.py removecron + /usr/bin/NodeUpdate.py removecron fi @@ -55,6 +55,10 @@ fi %changelog +* Fri Aug 10 2007 Faiyaz Ahmed +- Rebuild RPM Database nightly to avoid corruption +- Move working directory from /usr/local to /usr/bin + * Tue Nov 16 2004 Mark Huang - cron job now dumps to /var/log/NodeUpdate instead of spewing mail - cron job now runs once a day instead of once an hour