X-Git-Url: http://git.onelab.eu/?p=nodeconfig.git;a=blobdiff_plain;f=nodeconfig.spec;h=a08241d72c238ecdcd1624eec70f2e460de9c333;hp=52eef2794f3725ed554cbde416a15e36f728fce6;hb=f513a65d868956313160782558ee0b552af28abb;hpb=4d6c997a1b315481be11727e947f22ff4021b2b1 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