X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeUpdate.spec;h=66ddf134b962102a1b835c4d27a31b3d939822e5;hb=db32292a19162048dfe1a0ac684b92691b2a3650;hp=22e9b68561b40b40f17080c3f699fa449fb48b89;hpb=e4b6de95bffc7064c15a7e409178f4d49bf33e22;p=nodeupdate.git diff --git a/NodeUpdate.spec b/NodeUpdate.spec index 22e9b68..66ddf13 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 8 + +%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} @@ -29,8 +36,9 @@ PlanetLab service to periodically update node RPMS %install +echo "* Installing NodeUpdate node-side files" 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 +install -D -m 644 logrotate/NodeUpdate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT @@ -40,21 +48,39 @@ install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdat %attr(0755,root,root) /usr/bin/NodeUpdate.py* %attr(0644,root,root) /etc/logrotate.d/NodeUpdate -%pre - %post /usr/bin/NodeUpdate.py updatecron %preun if [ "$1" = 0 ]; then - /usr/bin/NodeUpdate.py removecron + /usr/bin/NodeUpdate.py removecron fi +%changelog +* Fri Feb 18 2011 Thierry Parmentelat - nodeupdate-0.5-8 +- has a builtin list of packages to update individually (NodeManager for now) +- plus an optional set that is read from /etc/planetlab/NodeUpdate.packages -%postun +* Wed Jul 14 2010 Daniel Hokka Zakrisson - nodeupdate-0.5-7 +- Use groupinstall to get new group members. +* Fri Jan 29 2010 Thierry Parmentelat - NodeUpdate-0.5-6 +- new module layout - no functional change + +* Mon Sep 07 2009 Thierry Parmentelat - NodeUpdate-0.5-5 +- searches the extensions file /etc/planetlab/extensions rather than the former /etc/planetlab/extra-node-groups + +* Tue Apr 07 2009 Thierry Parmentelat - NodeUpdate-0.5-4 +- invokes 'yum clean all' before updates +- as it is more reliable, although suboptimal + +* 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 -%changelog * 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