- to bootstrap 13.2 we need another split because bsf depends on things that depend on junit and as antlr requires bsf, we need a 3rd step -> split ant-junit to build in between ant and ant-antlr OBS-URL: https://build.opensuse.org/request/show/246737 OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=60
16 lines
683 B
Bash
16 lines
683 B
Bash
#!/bin/sh
|
|
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####\n"
|
|
sed "s/^%bcond_without bootstrap$/${EDIT_WARNING}%bcond_with bootstrap/;
|
|
s/^%bcond_with antlr/%bcond_without antlr/;
|
|
s/^\(Name:.*\)$/\1-antlr/;
|
|
0,/^Summary:.*/{s/^Summary:.*/Summary: Antlr Task for ant/};
|
|
" < ant.spec > ant-antlr.spec
|
|
sed "s/^%bcond_without bootstrap$/${EDIT_WARNING}%bcond_with bootstrap/;
|
|
s/^%bcond_with junit/%bcond_without junit/;
|
|
s/^\(Name:.*\)$/\1-junit/;
|
|
0,/^Summary:.*/{s/^Summary:.*/Summary: Optional junit tasks for ant/};
|
|
" < ant.spec > ant-junit.spec
|
|
cp ant.changes ant-junit.changes
|
|
|
|
|