From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Mon, 26 May 2008 19:05:11 +0000 (+0000)
Subject: towards 5.0
X-Git-Tag: nodeconfig-4.2-11~14
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3ed56861886553e234da62a9eec38f48f93f1d59;p=nodeconfig.git

towards 5.0
---

diff --git a/nodeconfig.spec b/nodeconfig.spec
index 0455d8f..05bd27f 100644
--- a/nodeconfig.spec
+++ b/nodeconfig.spec
@@ -26,7 +26,7 @@ URL: %(echo %{url} | cut -d ' ' -f 2)
 
 # We use set everywhere
 Requires: php >= 5.0
-Requires: PLCAPI >= 4.0
+Requires: PLCAPI >= 5.0
 
 %description
 
@@ -50,9 +50,8 @@ echo "* nodeconfig: Installing PlanetLabConf pages"
 
 for dir in boot PlanetLabConf PLCAPI ; do
     mkdir -p $RPM_BUILD_ROOT/var/www/html/$dir
+    rsync -a --exclude .svn ./$dir/ $RPM_BUILD_ROOT/var/www/html/$dir/
 done
-# let's be conservative and exclude codebase files, though there should not be any
-rsync -a --exclude \*.spec --exclude .svn --exclude CVS ./ $RPM_BUILD_ROOT/var/www/html/
 
 %clean
 rm -rf $RPM_BUILD_ROOT