X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeUpdate.spec;h=5dfa19aa1599b1f585160918bf94244926a14439;hb=92c8b2951dacb9208fe8a4633b2a68be87e37a31;hp=399a6d7dce913982a0711f97324e04488c8a49e9;hpb=37c2bd1ad7db31d123a5057d9a78076ad2188214;p=nodeupdate.git diff --git a/NodeUpdate.spec b/NodeUpdate.spec index 399a6d7..5dfa19a 100644 --- a/NodeUpdate.spec +++ b/NodeUpdate.spec @@ -1,11 +1,18 @@ +# +# $Id$ +# +%define url $URL$ + %define name NodeUpdate -%define version 0.4 -%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define version 0.5 +%define taglevel 3 + +%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Vendor: PlanetLab Packager: PlanetLab Central -Distribution: PlanetLab 3.0 -URL: http://cvs.planet-lab.org/cvs/NodeUpdate +Distribution: PlanetLab %{plrelease} +URL: %(echo %{url} | cut -d ' ' -f 2) Summary: PlanetLab service to periodically update node RPMS Name: %{name} @@ -37,17 +44,17 @@ install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdat %files %defattr(-,root,root) -%attr(0755,root,root) /usr/planetlab/bin/NodeUpdate.py* +%attr(0755,root,root) /usr/bin/NodeUpdate.py* %attr(0644,root,root) /etc/logrotate.d/NodeUpdate %pre %post -/usr/planetlab/bin/NodeUpdate.py updatecron +/usr/bin/NodeUpdate.py updatecron %preun if [ "$1" = 0 ]; then - /usr/planetlab/bin/NodeUpdate.py removecron + /usr/bin/NodeUpdate.py removecron fi @@ -55,6 +62,13 @@ fi %changelog +* Tue Jul 08 2008 Thierry Parmentelat - NodeUpdate-0.5-3 +- more verbose : invoke yum with --verbose, and print timestamps + +* 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