X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=NodeManager.spec;h=36d8acaf778393cce73646431d3861d7d313cbba;hb=c3c0dfb34018f3950b76e9644dfd69026d033b38;hp=fcf3bc61c5b001a8cabbecd56ecad65df69557f4;hpb=ac32a7847ed26019377496b0849df5127f3b479b;p=nodemanager.git diff --git a/NodeManager.spec b/NodeManager.spec index fcf3bc6..36d8aca 100644 --- a/NodeManager.spec +++ b/NodeManager.spec @@ -6,8 +6,8 @@ %define slicefamily %{pldistro}-%{distroname}-%{_arch} %define name NodeManager -%define version 1.7 -%define taglevel 2 +%define version 1.9 +%define taglevel 0 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -25,6 +25,8 @@ Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) +BuildArch: noarch + # Old Node Manager Obsoletes: sidewinder, sidewinder-common @@ -44,6 +46,9 @@ Requires: curl # Uses function decorators Requires: python >= 2.4 +# sioc/plnet +Requires: pyplnet >= 4.3 + %description The PlanetLab Node Manager manages all aspects of PlanetLab node and slice management once the node has been initialized and configured by @@ -62,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT %{__make} %{?_smp_mflags} install DESTDIR="$RPM_BUILD_ROOT" install -D -m 755 conf_files.init $RPM_BUILD_ROOT/%{_initrddir}/conf_files +install -D -m 755 fuse-pl.init $RPM_BUILD_ROOT/%{_initrddir}/fuse-pl install -D -m 755 nm.init $RPM_BUILD_ROOT/%{_initrddir}/nm install -D -m 644 nm.logrotate $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/nm @@ -70,14 +76,19 @@ chkconfig --add conf_files chkconfig conf_files on chkconfig --add nm chkconfig nm on +chkconfig --add fuse-pl +chkconfig fuse-pl on if [ "$PL_BOOTCD" != "1" ] ; then service nm restart + service fuse-pl restart fi %preun # 0 = erase, 1 = upgrade if [ $1 -eq 0 ] ; then + chkconfig fuse-pl off + chkconfig --del fuse-pl chkconfig nm off chkconfig --del nm chkconfig conf_files off @@ -89,15 +100,26 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc -%dir %{_datadir}/NodeManager -%{_datadir}/NodeManager/* +%{_datadir}/NodeManager/ %{_bindir}/forward_api_calls %{_initrddir}/nm %{_initrddir}/conf_files +%{_initrddir}/fuse-pl %{_sysconfdir}/logrotate.d/nm %changelog +* Tue Mar 24 2009 Faiyaz Ahmed - NodeManager-1.8-1 + +* Wed Apr 02 2008 Faiyaz Ahmed - NodeManager-1.7-1 NodeManager-1.7-2 - Configures vsys via vsys slice attribute {name: vsys, value: script} - CPU reservations are now calculated via percentages instead of shares @@ -109,3 +131,5 @@ rm -rf $RPM_BUILD_ROOT * Mon Nov 13 2006 Mark Huang - - Initial build. + +%define module_current_branch 1.8