git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed white list. Bumped version 1.5.3
[nodemanager.git]
/
NodeManager.spec
diff --git
a/NodeManager.spec
b/NodeManager.spec
index
1c1fb34
..
4ef3c08
100644
(file)
--- a/
NodeManager.spec
+++ b/
NodeManager.spec
@@
-1,7
+1,7
@@
Summary: PlanetLab Node Manager
Name: NodeManager
Summary: PlanetLab Node Manager
Name: NodeManager
-Version: 1.
2
-Release:
1
%{?pldistro:.%{pldistro}}%{?date:.%{date}}
+Version: 1.
5
+Release:
3
%{?pldistro:.%{pldistro}}%{?date:.%{date}}
License: PlanetLab
Group: System Environment/Daemons
URL: http://cvs.planet-lab.org/cvs/NodeManager
License: PlanetLab
Group: System Environment/Daemons
URL: http://cvs.planet-lab.org/cvs/NodeManager
@@
-13,7
+13,7
@@
Obsoletes: sidewinder, sidewinder-common
# vuseradd, vuserdel
Requires: vserver-reference
# vuseradd, vuserdel
Requires: vserver-reference
-Requires: util-vserver
+Requires: util-vserver
>= 0.30.208-17
# vserver.py
Requires: util-vserver-python
# vserver.py
Requires: util-vserver-python
@@
-49,10
+49,15
@@
install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm
install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm
%post
install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm
%post
+if [ -e /var/log/nm ] ; then
+ gzip /var/log/nm
+fi
chkconfig --add conf_files
chkconfig conf_files on
chkconfig --add nm
chkconfig nm on
chkconfig --add conf_files
chkconfig conf_files on
chkconfig --add nm
chkconfig nm on
+service nm restart
+
%preun
# 0 = erase, 1 = upgrade
%preun
# 0 = erase, 1 = upgrade