2011-03-09 10:05:56 +01:00
|
|
|
#!/bin/sh
|
|
|
|
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####\n"
|
2014-08-28 19:05:23 +02:00
|
|
|
sed "s/^%bcond_without bootstrap$/${EDIT_WARNING}%bcond_with bootstrap/;
|
|
|
|
s/^%bcond_with antlr/%bcond_without antlr/;
|
2011-03-09 10:05:56 +01:00
|
|
|
s/^\(Name:.*\)$/\1-antlr/;
|
2014-07-04 14:56:47 +02:00
|
|
|
0,/^Summary:.*/{s/^Summary:.*/Summary: Antlr Task for ant/};
|
2011-03-09 10:05:56 +01:00
|
|
|
" < ant.spec > ant-antlr.spec
|
2015-07-28 16:17:31 +02:00
|
|
|
cp ant.changes ant-antlr.changes
|
2014-08-28 19:05:23 +02:00
|
|
|
sed "s/^%bcond_without bootstrap$/${EDIT_WARNING}%bcond_with bootstrap/;
|
|
|
|
s/^%bcond_with junit/%bcond_without junit/;
|
2019-02-08 09:52:49 +01:00
|
|
|
s/^%bcond_without junit5/%bcond_with junit5/;
|
2014-08-28 19:05:23 +02:00
|
|
|
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
|
2019-02-08 09:52:49 +01:00
|
|
|
sed "s/^%bcond_without bootstrap$/${EDIT_WARNING}%bcond_with bootstrap/;
|
|
|
|
s/^%bcond_with junit5/%bcond_without junit5/;
|
|
|
|
s/^\(Name:.*\)$/\1-junit5/;
|
|
|
|
0,/^Summary:.*/{s/^Summary:.*/Summary: Optional junit tasks for ant/};
|
|
|
|
" < ant.spec > ant-junit5.spec
|
|
|
|
cp ant.changes ant-junit5.changes
|
2014-08-28 19:05:23 +02:00
|
|
|
|