* Read WHATSNEW file for detailed informations on the update - Fix build with new javapackages-tools - 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 - Fix building on SLE. - Added patch: * apache-ant-old-gcj-build.patch - fix summary (was antlr summary) - SLE_11 specific spec files for ant/ant-antlr. These build with openjdk, which introduced bootstrap breakage in Factory. - Update pre_checkin.sh for SLE_11 specific spec's - remove dependency on gpg-offline (blocks rebuilds and tarball integrity is checked by source-validator anyway, plus it was commented out) - remove apache-ant-bz163689.patch (was not applied anywhere) - Update packaging to build the openjdk and not gcj - Update to 1.9.2 - Incompatible changes: * ProjectHelper's implementation import and include tasks defaults the targetPrefix to ProjectHelper.USE_PROJECT_NAME_AS_TARGET_PREFIX. OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=66
16 lines
715 B
Bash
16 lines
715 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
|
|
cp ant.changes ant-antlr.changes
|
|
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
|
|
|