SHA256
1
0
forked from pool/ant

Accepting request 246737 from openSUSE:Factory:Staging:H:DVD

- 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
This commit is contained in:
Factory Maintainer
2014-08-28 17:05:23 +00:00
committed by Git OBS Bridge
parent 92685e5b52
commit f6a22379bd
6 changed files with 1545 additions and 115 deletions

View File

@@ -1,6 +1,15 @@
#!/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/;
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