git://git.onelab.eu
/
nodeupdate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodec...
[nodeupdate.git]
/
NodeUpdate.spec
diff --git
a/NodeUpdate.spec
b/NodeUpdate.spec
index
aa5b351
..
1e38449
100644
(file)
--- a/
NodeUpdate.spec
+++ b/
NodeUpdate.spec
@@
-1,11
+1,18
@@
+#
+# $Id$
+#
+%define url $URL$
+
%define name NodeUpdate
%define version 0.5
%define name NodeUpdate
%define version 0.5
-%define release 1%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+%define taglevel 5
+
+%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
-Distribution: PlanetLab
4.1
-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}
Summary: PlanetLab service to periodically update node RPMS
Name: %{name}
@@
-29,8
+36,9
@@
PlanetLab service to periodically update node RPMS
%install
%install
+echo "* Installing NodeUpdate node-side files"
install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py
install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py
-install -D -m 644
NodeUpdate.logrot
ate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate
+install -D -m 644
logrotate/NodeUpd
ate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
@@
-40,21
+48,25
@@
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
%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
%post
/usr/bin/NodeUpdate.py updatecron
%preun
if [ "$1" = 0 ]; then
-
/usr/bin/NodeUpdate.py removecron
+ /usr/bin/NodeUpdate.py removecron
fi
fi
+%changelog
+* Mon Sep 07 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - NodeUpdate-0.5-5
+- searches the extensions file /etc/planetlab/extensions rather than the former /etc/planetlab/extra-node-groups
-%postun
+* Tue Apr 07 2009 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - NodeUpdate-0.5-4
+- invokes 'yum clean all' before updates
+- as it is more reliable, although suboptimal
+* Tue Jul 08 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - NodeUpdate-0.5-3
+- more verbose : invoke yum with --verbose, and print timestamps
-%changelog
* Fri Aug 10 2007 Faiyaz Ahmed <faiyaza@cs.princeton.edu>
- Rebuild RPM Database nightly to avoid corruption
- Move working directory from /usr/local to /usr/bin
* Fri Aug 10 2007 Faiyaz Ahmed <faiyaza@cs.princeton.edu>
- Rebuild RPM Database nightly to avoid corruption
- Move working directory from /usr/local to /usr/bin