From: Thierry Parmentelat Date: Fri, 26 Sep 2008 09:23:34 +0000 (+0000) Subject: should have been part of previous change X-Git-Tag: nodeconfig-4.3-2~22 X-Git-Url: http://git.onelab.eu/?p=nodeconfig.git;a=commitdiff_plain;h=f513a65d868956313160782558ee0b552af28abb should have been part of previous change --- diff --git a/nodeconfig.spec b/nodeconfig.spec index 52eef27..a08241d 100644 --- a/nodeconfig.spec +++ b/nodeconfig.spec @@ -1,5 +1,5 @@ # -# $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 $ @@ -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