X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=nodeconfig.spec;h=3c932e40bf92b5f2c75c27a9e10510229ef1fbcd;hb=26edc8a8f35dd504a344c21c09ab53f9dcca7949;hp=159a95987a7b701f960ef838958543149f7b911b;hpb=48b55f7764dfb357923423cc788c8202e975072b;p=nodeconfig.git diff --git a/nodeconfig.spec b/nodeconfig.spec index 159a959..3c932e4 100644 --- a/nodeconfig.spec +++ b/nodeconfig.spec @@ -1,11 +1,11 @@ # -# $Id: PLCWWW.spec 7881 2008-01-22 14:45:22Z thierry $ +# $Id$ # -%define url $URL: svn+ssh://thierry@svn.planet-lab.org/svn/WWW/trunk/PLCWWW.spec $ +%define url $URL$ %define name nodeconfig %define version 4.2 -%define taglevel 4 +%define taglevel 5 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -40,8 +40,11 @@ reasons these scripts get installed in /var/www/html/PlanetLabConf. %setup -q %build -echo "There is no build stage for this component." -echo "All files just need to be installed as is from the codebase." +EXCLUDE="exclude=kernel* util-vserver* iptables iproute" +for filein in $(find . -name '*.in') ; do + file=$(echo $filein | sed -e "s,\.in$,,") + sed -e "s,@EXCLUDE@,$EXCLUDE,g" $filein > $file +done %install rm -rf $RPM_BUILD_ROOT @@ -52,7 +55,7 @@ for dir in boot PlanetLabConf PLCAPI ; do mkdir -p $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/ +rsync -a --exclude \*.spec --exclude .svn --exclude \*.in ./ $RPM_BUILD_ROOT/var/www/html/ %clean rm -rf $RPM_BUILD_ROOT @@ -64,6 +67,10 @@ rm -rf $RPM_BUILD_ROOT /var/www/html/PLCAPI %changelog +* Wed Jun 25 2008 Thierry Parmentelat - nodeconfig-4.2-5 +- yum.conf.php handles nodegroups and slicefamily +- svn keywords fixed + * Tue Apr 22 2008 Thierry Parmentelat - nodeconfig-4.2-4 - keys.php know about monitor - new sudoers.php script