SHA256
1
0
forked from pool/ant
ant/pre_checkin.sh

10 lines
402 B
Bash

#!/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/;
" < ant.spec > ant-antlr.spec
sed "s/^%global bootstrap.*$/${EDIT_WARNING}%global bootstrap 0/;
s/^\(Name:.*\)$/\1-antlr-SLE_11/;
" < ant-SLE_11.spec > ant-antlr-SLE_11.spec