#!/bin/sh EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####\n" sed "s/^%global bootstrap.*$/${EDIT_WARNING}%global bootstrap 0/; s/^\(Name:.*\)$/\1-antlr/; s/^Summary:.*/Summary: Antlr Task for ant/; " < ant.spec > ant-antlr.spec