/usr/local/planetlab is not a valid path for something installed from a package....
Faiyaz Ahmed [Fri, 10 Aug 2007 16:12:34 +0000 (16:12 +0000)]
NodeUpdate.spec

index 399a6d7..22e9b68 100644 (file)
@@ -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/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