From 61c1cc6f1b9dd1d66ec154772705b4a3a88ea082e2579d11e10f1658edf7373c Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 8 Feb 2019 08:52:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=136 --- ant-antlr.changes | 6 + ant-antlr.spec | 98 +++--- ant-junit.changes | 6 + ant-junit.spec | 98 +++--- ant-junit5.changes | 722 ++++++++++++++++++++++++++++++++++++++++++ ant-junit5.spec | 761 +++++++++++++++++++++++++++++++++++++++++++++ ant.changes | 6 + ant.spec | 98 +++--- pre_checkin.sh | 7 + 9 files changed, 1673 insertions(+), 129 deletions(-) create mode 100644 ant-junit5.changes create mode 100644 ant-junit5.spec diff --git a/ant-antlr.changes b/ant-antlr.changes index e31142e..abb27d6 100644 --- a/ant-antlr.changes +++ b/ant-antlr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba + +- Create an ant-junit5 package to build junit5 optional tasks + when they become resolved + ------------------------------------------------------------------- Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba diff --git a/ant-antlr.spec b/ant-antlr.spec index b44cdff..9e64223 100644 --- a/ant-antlr.spec +++ b/ant-antlr.spec @@ -22,6 +22,7 @@ ##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! ##### %bcond_with bootstrap %bcond_with junit +%bcond_with junit5 %bcond_without antlr Name: ant-antlr Version: 1.10.5 @@ -55,7 +56,7 @@ BuildArch: noarch %if !%{with bootstrap} BuildRequires: javapackages-local %endif -%if %{with junit} || %{with antlr} +%if %{with junit} || %{with antlr} || %{with junit5} BuildRequires: ant = %{version} BuildRequires: hamcrest BuildRequires: junit @@ -64,6 +65,9 @@ BuildRequires: junit %if %{with antlr} BuildRequires: xerces-j2 %endif +%if %{with junit5} +BuildRequires: junit5 +%endif %if 0%{?suse_version} > 1320 BuildRequires: strip-nondeterminism %endif @@ -91,11 +95,20 @@ Obsoletes: ant-javadoc Requires: junit4 %requires_eq ant %endif +%if %{with junit5} +Requires: junit5 +%requires_eq ant +%endif %if %{with junit} %description Apache Ant is a Java-based build tool. This package contains optional JUnit tasks for Apache Ant. +%elif %{with junit5} +%description +Apache Ant is a Java-based build tool. + +This package contains optional JUnit5 tasks for Apache Ant. %else %description Apache Ant is a Java-based build tool. In theory, it is kind of like @@ -357,9 +370,12 @@ rm src/tests/junit/org/apache/tools/mail/MailMessageTest.java \ %endif #install jars -%if %{with junit} +%if %{with junit} || %{with junit5} build-jar-repository -s -p lib/optional junit4 %endif +%if %{with junit5} +build-jar-repository -s -p lib/optional junit5 opentest4j +%endif %if %{with antlr} # we need to build junit in antlr, but we remove it later build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver @@ -375,7 +391,7 @@ mv LICENSE.utf8 LICENSE %build export OPT_JAR_LIST=: -%if %{with antlr} || %{with junit} +%if %{with antlr} || %{with junit} || %{with junit5} ant -Dbuild.sysclasspath=first jars test-jar #remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests. @@ -398,19 +414,26 @@ mkdir -p %{buildroot}%{ant_home}/{lib,etc} install -d -m 755 %{buildroot}%{_javadir}/ant install -d -m 755 %{buildroot}%{_mavenpomdir} -%if ! %{with junit} -rm build/lib/ant-junit*.jar +%if %{without junit} && %{without junit5} + rm build/lib/ant-junit*.jar %else -# remove all others -for i in build/lib/ant-*.jar ; do - case $i in - */ant-junit*) - ;; - *) - rm -v $i - ;; - esac -done + %if %{without junit} + rm build/lib/ant-junit.jar + rm build/lib/ant-junit4.jar + %else + # empty in this scenario + rm build/lib/ant-junitlauncher.jar + %endif + # remove all others + for i in build/lib/ant-*.jar ; do + case $i in + */ant-junit*) + ;; + *) + rm -v $i + ;; + esac + done %endif for jar in build/lib/*.jar @@ -458,6 +481,10 @@ do install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname} if [ $jarname == ant-launcher ]; then %add_maven_depmap ${pomname} ${destname}${jarname}.jar -a ant:ant-launcher + elif [ $jarname == ant-jmf ]; then + %add_maven_depmap ${pomname} ${destname}${jarname}.jar -f jmf + elif [ $jarname == ant-swing ]; then + %add_maven_depmap ${pomname} ${destname}${jarname}.jar -f swing elif [ $jarname == ant ]; then %add_maven_depmap ${pomname} ${destname}${jarname}.jar -a org.apache.ant:ant-nodeps,apache:ant,ant:ant else @@ -510,6 +537,10 @@ echo "junit ant/ant-junit" > %{buildroot}%{_sysconfdir}/ant.d/junit echo "junit4 ant/ant-junit4" > %{buildroot}%{_sysconfdir}/ant.d/junit4 %endif +%if %{with junit5} +echo "junit5 hamcrest/core junit opentest4j ant/ant-junitlauncher" > %{buildroot}%{_sysconfdir}/ant.d/junitlauncher +%endif + %if %{with antlr} echo "antlr ant/ant-antlr" > %{buildroot}%{_sysconfdir}/ant.d/antlr echo "bsf ant/ant-apache-bsf" > %{buildroot}%{_sysconfdir}/ant.d/apache-bsf @@ -549,15 +580,13 @@ pushd %{buildroot}%{_javadir} done popd -%files +%files -f .mfiles %license LICENSE NOTICE %doc KEYS README WHATSNEW %config(noreplace) %{_sysconfdir}/%{name}.conf %attr(0755,root,root) %{_bindir}/ant %attr(0755,root,root) %{_bindir}/antRun -%{_javadir}/%{name}.jar %{_javadir}/%{name}/%{name}.jar -%{_javadir}/%{name}-launcher.jar %{_javadir}/%{name}/%{name}-launcher.jar %{_javadir}/%{name}-bootstrap.jar %{_javadir}/%{name}/%{name}-bootstrap.jar @@ -580,16 +609,6 @@ popd %{ant_home}/lib/ant-bootstrap.jar %{ant_home}/lib/ant-launcher.jar %dir %{_sysconfdir}/ant.d -%{_mavenpomdir}/JPP-ant-launcher.pom -%{_mavenpomdir}/JPP-ant-parent.pom -%{_mavenpomdir}/JPP-ant.pom -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/ant -%else -%{_datadir}/maven-metadata/ant.xml -%endif -%dir %{_mavenpomdir} - %endif %if %{with antlr} @@ -610,36 +629,29 @@ popd %endif %if %{with junit} -%files -%{_javadir}/ant/ant-junit*.jar +%files -f .mfiles %{ant_home}/lib/ant-junit*.jar %config(noreplace) %{_sysconfdir}/ant.d/junit %config(noreplace) %{_sysconfdir}/ant.d/junit4 %{ant_home}%{_sysconfdir}/junit-frames.xsl %{ant_home}%{_sysconfdir}/junit-noframes.xsl -%{_mavenpomdir}/JPP.ant-ant-junit*.pom -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/ant-junit -%else -%{_datadir}/maven-metadata/ant-junit.xml %endif -%dir %{_mavenpomdir} + +%if %{with junit5} +%files -f .mfiles +%{ant_home}/lib/ant-junitlauncher.jar +%config(noreplace) %{_sysconfdir}/ant.d/junitlauncher %endif ### Basic ant subpackages %if %{with bootstrap} -%files -n ant-jmf -%{_javadir}/ant/ant-jmf.jar +%files -n ant-jmf -f .mfiles-jmf %{ant_home}/lib/ant-jmf.jar %config(noreplace) %{_sysconfdir}/ant.d/jmf -%{_mavenpomdir}/JPP.ant-ant-jmf.pom -%files -n ant-swing -%{_javadir}/ant/ant-swing.jar +%files -n ant-swing -f .mfiles-swing %{ant_home}/lib/ant-swing.jar %config(noreplace) %{_sysconfdir}/ant.d/swing -%{_mavenpomdir}/JPP.ant-ant-swing.pom -%dir %{_mavenpomdir} %files -n ant-scripts %defattr(0755,root,root,0755) diff --git a/ant-junit.changes b/ant-junit.changes index e31142e..abb27d6 100644 --- a/ant-junit.changes +++ b/ant-junit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba + +- Create an ant-junit5 package to build junit5 optional tasks + when they become resolved + ------------------------------------------------------------------- Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba diff --git a/ant-junit.spec b/ant-junit.spec index fd6002c..ecf85ca 100644 --- a/ant-junit.spec +++ b/ant-junit.spec @@ -22,6 +22,7 @@ ##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! ##### %bcond_with bootstrap %bcond_without junit +%bcond_with junit5 %bcond_with antlr Name: ant-junit Version: 1.10.5 @@ -55,7 +56,7 @@ BuildArch: noarch %if !%{with bootstrap} BuildRequires: javapackages-local %endif -%if %{with junit} || %{with antlr} +%if %{with junit} || %{with antlr} || %{with junit5} BuildRequires: ant = %{version} BuildRequires: hamcrest BuildRequires: junit @@ -64,6 +65,9 @@ BuildRequires: junit %if %{with antlr} BuildRequires: xerces-j2 %endif +%if %{with junit5} +BuildRequires: junit5 +%endif %if 0%{?suse_version} > 1320 BuildRequires: strip-nondeterminism %endif @@ -91,11 +95,20 @@ Obsoletes: ant-javadoc Requires: junit4 %requires_eq ant %endif +%if %{with junit5} +Requires: junit5 +%requires_eq ant +%endif %if %{with junit} %description Apache Ant is a Java-based build tool. This package contains optional JUnit tasks for Apache Ant. +%elif %{with junit5} +%description +Apache Ant is a Java-based build tool. + +This package contains optional JUnit5 tasks for Apache Ant. %else %description Apache Ant is a Java-based build tool. In theory, it is kind of like @@ -357,9 +370,12 @@ rm src/tests/junit/org/apache/tools/mail/MailMessageTest.java \ %endif #install jars -%if %{with junit} +%if %{with junit} || %{with junit5} build-jar-repository -s -p lib/optional junit4 %endif +%if %{with junit5} +build-jar-repository -s -p lib/optional junit5 opentest4j +%endif %if %{with antlr} # we need to build junit in antlr, but we remove it later build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver @@ -375,7 +391,7 @@ mv LICENSE.utf8 LICENSE %build export OPT_JAR_LIST=: -%if %{with antlr} || %{with junit} +%if %{with antlr} || %{with junit} || %{with junit5} ant -Dbuild.sysclasspath=first jars test-jar #remove empty jai and netrexx jars. Due to missing dependencies they contain only manifests. @@ -398,19 +414,26 @@ mkdir -p %{buildroot}%{ant_home}/{lib,etc} install -d -m 755 %{buildroot}%{_javadir}/ant install -d -m 755 %{buildroot}%{_mavenpomdir} -%if ! %{with junit} -rm build/lib/ant-junit*.jar +%if %{without junit} && %{without junit5} + rm build/lib/ant-junit*.jar %else -# remove all others -for i in build/lib/ant-*.jar ; do - case $i in - */ant-junit*) - ;; - *) - rm -v $i - ;; - esac -done + %if %{without junit} + rm build/lib/ant-junit.jar + rm build/lib/ant-junit4.jar + %else + # empty in this scenario + rm build/lib/ant-junitlauncher.jar + %endif + # remove all others + for i in build/lib/ant-*.jar ; do + case $i in + */ant-junit*) + ;; + *) + rm -v $i + ;; + esac + done %endif for jar in build/lib/*.jar @@ -458,6 +481,10 @@ do install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname} if [ $jarname == ant-launcher ]; then %add_maven_depmap ${pomname} ${destname}${jarname}.jar -a ant:ant-launcher + elif [ $jarname == ant-jmf ]; then + %add_maven_depmap ${pomname} ${destname}${jarname}.jar -f jmf + elif [ $jarname == ant-swing ]; then + %add_maven_depmap ${pomname} ${destname}${jarname}.jar -f swing elif [ $jarname == ant ]; then %add_maven_depmap ${pomname} ${destname}${jarname}.jar -a org.apache.ant:ant-nodeps,apache:ant,ant:ant else @@ -510,6 +537,10 @@ echo "junit ant/ant-junit" > %{buildroot}%{_sysconfdir}/ant.d/junit echo "junit4 ant/ant-junit4" > %{buildroot}%{_sysconfdir}/ant.d/junit4 %endif +%if %{with junit5} +echo "junit5 hamcrest/core junit opentest4j ant/ant-junitlauncher" > %{buildroot}%{_sysconfdir}/ant.d/junitlauncher +%endif + %if %{with antlr} echo "antlr ant/ant-antlr" > %{buildroot}%{_sysconfdir}/ant.d/antlr echo "bsf ant/ant-apache-bsf" > %{buildroot}%{_sysconfdir}/ant.d/apache-bsf @@ -549,15 +580,13 @@ pushd %{buildroot}%{_javadir} done popd -%files +%files -f .mfiles %license LICENSE NOTICE %doc KEYS README WHATSNEW %config(noreplace) %{_sysconfdir}/%{name}.conf %attr(0755,root,root) %{_bindir}/ant %attr(0755,root,root) %{_bindir}/antRun -%{_javadir}/%{name}.jar %{_javadir}/%{name}/%{name}.jar -%{_javadir}/%{name}-launcher.jar %{_javadir}/%{name}/%{name}-launcher.jar %{_javadir}/%{name}-bootstrap.jar %{_javadir}/%{name}/%{name}-bootstrap.jar @@ -580,16 +609,6 @@ popd %{ant_home}/lib/ant-bootstrap.jar %{ant_home}/lib/ant-launcher.jar %dir %{_sysconfdir}/ant.d -%{_mavenpomdir}/JPP-ant-launcher.pom -%{_mavenpomdir}/JPP-ant-parent.pom -%{_mavenpomdir}/JPP-ant.pom -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/ant -%else -%{_datadir}/maven-metadata/ant.xml -%endif -%dir %{_mavenpomdir} - %endif %if %{with antlr} @@ -610,36 +629,29 @@ popd %endif %if %{with junit} -%files -%{_javadir}/ant/ant-junit*.jar +%files -f .mfiles %{ant_home}/lib/ant-junit*.jar %config(noreplace) %{_sysconfdir}/ant.d/junit %config(noreplace) %{_sysconfdir}/ant.d/junit4 %{ant_home}%{_sysconfdir}/junit-frames.xsl %{ant_home}%{_sysconfdir}/junit-noframes.xsl -%{_mavenpomdir}/JPP.ant-ant-junit*.pom -%if %{defined _maven_repository} -%config(noreplace) %{_mavendepmapfragdir}/ant-junit -%else -%{_datadir}/maven-metadata/ant-junit.xml %endif -%dir %{_mavenpomdir} + +%if %{with junit5} +%files -f .mfiles +%{ant_home}/lib/ant-junitlauncher.jar +%config(noreplace) %{_sysconfdir}/ant.d/junitlauncher %endif ### Basic ant subpackages %if %{with bootstrap} -%files -n ant-jmf -%{_javadir}/ant/ant-jmf.jar +%files -n ant-jmf -f .mfiles-jmf %{ant_home}/lib/ant-jmf.jar %config(noreplace) %{_sysconfdir}/ant.d/jmf -%{_mavenpomdir}/JPP.ant-ant-jmf.pom -%files -n ant-swing -%{_javadir}/ant/ant-swing.jar +%files -n ant-swing -f .mfiles-swing %{ant_home}/lib/ant-swing.jar %config(noreplace) %{_sysconfdir}/ant.d/swing -%{_mavenpomdir}/JPP.ant-ant-swing.pom -%dir %{_mavenpomdir} %files -n ant-scripts %defattr(0755,root,root,0755) diff --git a/ant-junit5.changes b/ant-junit5.changes new file mode 100644 index 0000000..abb27d6 --- /dev/null +++ b/ant-junit5.changes @@ -0,0 +1,722 @@ +------------------------------------------------------------------- +Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba + +- Create an ant-junit5 package to build junit5 optional tasks + when they become resolved + +------------------------------------------------------------------- +Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba + +- Add compatibility links ant/ant*.jar for bootstrap build + +------------------------------------------------------------------- +Tue Feb 5 09:49:54 UTC 2019 - Fridrich Strba + +- BuildRequire hamcrest for ant-junit and ant-antlr, since junit4 + depends strictly on hamcrest-core only. + +------------------------------------------------------------------- +Fri Feb 1 16:19:10 UTC 2019 - Fridrich Strba + +- Build ant against xml-commons-apis-bootstrap and + xml-commons-resolver-bootstrap in order to break build cycle + +------------------------------------------------------------------- +Mon Dec 10 08:22:18 UTC 2018 - Fridrich Strba + +- Don't build against a particular xml-apis/xml-resolver provider, + but against the generic virtual provider. This allows easier + bootstrapping. +- Added patch: + * apache-ant-xml-apis.patch + + look for the xml-apis.jar and xml-resolver.jar when composing + classpath; they are symlinks provided by several packages. + +------------------------------------------------------------------- +Mon Nov 26 08:07:13 UTC 2018 - Fridrich Strba + +- Let ant-antlr provide ant-xz too, since it contains the + corresponding jar. + +------------------------------------------------------------------- +Wed Oct 31 10:20:23 UTC 2018 - Fridrich Strba + +- Add aliases to some maven artifacts so that packages out there + resolve then correctly + +------------------------------------------------------------------- +Fri Oct 26 09:54:04 UTC 2018 - Pedro Monreal Gonzalez + +- Update to 1.10.5 [bsc#1113136] + * Same version as in 1.9.13 but with additional features and + requires Java8 or higher. + * Dropped patch to build with java8+ already fixed in this version + - apache-ant-1.9.9-sourcetarget.patch + * Refreshed patch: + - apache-ant-class-path-in-manifest.patch + +------------------------------------------------------------------- +Sun Oct 21 08:08:23 UTC 2018 - antoine.belvire@opensuse.org + +- Add reproducible-build-manifest.patch: Use less detailed version + string for manifest's "Created-by" field (boo#1110024). + +------------------------------------------------------------------- +Wed Oct 17 19:40:22 UTC 2018 - Fridrich Strba + +- Require javapackages-local in order to generate correctly the + maven requires and provides +- Install maven artifacts + +------------------------------------------------------------------- +Fri Aug 24 20:20:20 UTC 2018 - Jason Sikes + +- Update to 1.9.13 + * Fixes a regression in the "get" task where redirects + from a HTTP resource to a HTTPS resource started throwing + an exception. + Bugzilla Report 62499 + + * the new allowFilesToEscapeDest didn't work when set to false and + archive entries contained relative paths with so many ".." + segnments that the resulting path would go beyond the file system + root. + Bugzilla Report 62502, bsc#1100053, CVE-2018-10886 + +------------------------------------------------------------------- +Tue May 15 05:02:22 UTC 2018 - fstrba@suse.com + +- Build with source and target 8 to prepare for a possible removal + of 1.6 compatibility +- Modified patch: + * apache-ant-1.9.9-sourcetarget.patch + - Build with source/target 8 + +------------------------------------------------------------------- +Fri Feb 23 10:24:31 UTC 2018 - ecsos@opensuse.org + +- fix build error for Leap 42.3 + +------------------------------------------------------------------- +Thu Feb 22 11:43:31 UTC 2018 - tchvatal@suse.com + +- Add patch to run scripts with python3 if applicable bsc#1082202: + * ant-python3.patch + +------------------------------------------------------------------- +Thu Feb 22 11:26:23 UTC 2018 - tchvatal@suse.com + +- Update to 1.9.10: + * Various fixes for java10 + * Small fixes all around +- Remove merged patch reproducible.patch + +------------------------------------------------------------------- +Sat Oct 28 16:17:19 UTC 2017 - jengelh@inai.de + +- Simply use find -delete over xargs. +- Make description neutral. + +------------------------------------------------------------------- +Tue Oct 24 11:26:36 UTC 2017 - bwiedemann@suse.com + +- Add reproducible-build-date.patch to allow to have fixed build dates + to make other packages build more reproducibly + +------------------------------------------------------------------- +Wed Oct 4 09:07:19 UTC 2017 - fstrba@suse.com + +- Remove dependency on java-1_5_0-gcj-compat-devel and build even + the bootstrap package with java source and target 1.6 + +------------------------------------------------------------------- +Fri Sep 29 07:06:59 UTC 2017 - fstrba@suse.com + +- Don't condition the maven defines on release version, but on + _maven_repository being defined + +------------------------------------------------------------------- +Thu Sep 14 05:39:48 UTC 2017 - fstrba@suse.com + +- Allow bootstrapping with something else then + java-1_5_0-gcj-compat, but still require + java-1_5_0-gcj-compat-devel +- Added patch: + * apache-ant-bootstrap.patch + - Add -sourcepath option to fix build breakages with Eclipse + Compiler for Java(tm) + +------------------------------------------------------------------- +Wed Sep 6 17:49:21 UTC 2017 - fstrba@suse.com + +- Added patch: + * apache-ant-1.9.9-sourcetarget.patch + + Change java source and target versions to 1.6 to allow build + with jdk9 +- For non-boostrap builds require java-devel >= 1.6 + +------------------------------------------------------------------- +Fri Jun 9 09:05:31 UTC 2017 - tchvatal@suse.com + +- Do not generate poms on ant core packages to reduce deps and + allow bootstrap + +------------------------------------------------------------------- +Wed May 31 13:35:49 UTC 2017 - tchvatal@suse.com + +- Fix bootstrap to avoid new cycle bsc#1041966 + +------------------------------------------------------------------- +Fri May 19 08:08:28 UTC 2017 - tchvatal@suse.com + +- Disable javadoc completely it is on the web in much better form +- Remove if0 conditions +- Remove patch apache-ant-old-gcj-build.patch for sle11 and unused +- Fix build with split javapackages-tools + +------------------------------------------------------------------- +Mon May 8 20:05:59 UTC 2017 - bwiedemann@suse.com + +- Version bump to 1.9.9: + * Read WHATSNEW file for full changelist + +------------------------------------------------------------------- +Mon May 8 07:43:51 UTC 2017 - bwiedemann@suse.de + +- Add reproducible.patch to allow reproducible builds of ant itself + and packages built with ant like jcodings + +------------------------------------------------------------------- +Mon Feb 20 10:12:01 UTC 2017 - tchvatal@suse.com + +- Revert the previous change as it broke the build of most java + software stack + +------------------------------------------------------------------- +Mon Feb 13 15:54:30 UTC 2017 - guoyunhebrave@gmail.com + +- Add profile.d scripts to set ANT_HOME + +------------------------------------------------------------------- +Fri Jan 15 22:01:37 UTC 2016 - opensuse@dstoecker.de + +- junit4 test did not work (bnc#915686) + +------------------------------------------------------------------- +Wed Jul 29 11:12:50 UTC 2015 - tchvatal@suse.com + +- Add xalan-j2-serializer to ant-antlr requirements + +------------------------------------------------------------------- +Tue Jul 28 14:15:24 UTC 2015 - tchvatal@suse.com + +- Sync the changes files among the subpkgs +- Version bump to 1.9.6: + * Read WHATSNEW file for full changelist + +------------------------------------------------------------------- +Sun Jun 21 14:05:05 UTC 2015 - jengelh@inai.de + +- Do better quoting to get better error messages when it fails + +------------------------------------------------------------------- +Wed Mar 18 09:30:13 UTC 2015 - tchvatal@suse.com + +- Fix build with new javapackages-tools + +------------------------------------------------------------------- +Thu Aug 28 14:30:48 UTC 2014 - coolo@suse.com + +- 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 + +------------------------------------------------------------------- +Fri Jul 4 12:47:07 UTC 2014 - tchvatal@suse.com + +- Fix building on SLE. +- Added patch: + * apache-ant-old-gcj-build.patch + +------------------------------------------------------------------- +Fri Jul 4 11:54:48 UTC 2014 - tchvatal@suse.com + +- Update to 1.9.4: + * Read WHATSNEW file for full changelist + * initial support for Java 1.9 + * has now a threads attribute allowing to run the tests in + several threads. Bugzilla Report 55925 + * TarInputStream will now read archives created by tar + implementations that encode big numbers by not adding a trailing + NUL. + +------------------------------------------------------------------- +Thu May 15 13:18:36 UTC 2014 - peter.trommler@ohm-hochschule.de + +- fix summary (was antlr summary) + +------------------------------------------------------------------- +Mon May 12 14:00:55 UTC 2014 - darin@darins.net + +- 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 + +------------------------------------------------------------------- +Fri May 2 09:01:02 UTC 2014 - tchvatal@suse.com + +- Revert the bootstrap breakage. + +------------------------------------------------------------------- +Thu Apr 24 09:54:12 UTC 2014 - dmueller@suse.com + +- 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) + +------------------------------------------------------------------- +Wed Apr 23 12:55:35 UTC 2014 - darin@darins.net + +- Update packaging to build the openjdk and not gcj + +------------------------------------------------------------------- +Thu Jan 2 08:36:18 UTC 2014 - mvyskocil@suse.com + +- Update to 1.9.3 +- BugFixes: + * Ant 1.8 exec task changes have slowed exec to a crawl, apache#54128 + * swallowed the status code of nested tasks, + apache#55539 + * a race condition could make tasks of parallel builds to + interfere with each other, apache#54393 + * 's mailport still didn't work properly when using smtps, + apache#49267 + * using attributes belonging to the if and unless namespaces + made macrodef fail, apache#55885. + * Apt is not available under JDK 1.8, apache#55922 +- drop unused macros +- add gpg verification + +------------------------------------------------------------------- +Wed Dec 4 14:58:13 UTC 2013 - mvyskocil@suse.com + +- use requires_eq instead of manual call of rpm -q + +------------------------------------------------------------------- +Wed Oct 2 09:52:33 UTC 2013 - mvyskocil@suse.com + +- install compat symlink to /usr/share/ant/bin/antRun to make scala build + +------------------------------------------------------------------- +Mon Sep 9 11:05:25 UTC 2013 - tchvatal@suse.com + +- Move from jpackage-utils to javapackage-tools + +------------------------------------------------------------------- +Thu Aug 22 07:47:26 UTC 2013 - mvyskocil@suse.com + +- 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. + ProjectHelper2 is not affected, apache#54940. + * FixCRLF used to treat the EOL value ASIS to convert to the system property + line.separator. Specified was that ASIS would leave the EOL characters alone, + the task now really leaves the EOL characters alone. This also implies that + EOL ASIS will not insert a newline even if fixlast is set to true. + apache#53036 + * The CommandLauncher hierarchy that used to be a set of inner + classes of Execute has been extracted to the + org.apache.tools.ant.taskdefs.launcher package. + * Any FileResource whose represented File has a parent also has a basedir. + * Removing the Perforce Ant tasks replaced by tasks supplied by Perforce Inc. + * Setting the default encoding of StringResource to UTF-8 instead of null +- Bugfixes: + * post-process generated docs to migitiate frame + injection attack (CVE-2013-1571) apache#55132 + * Parsing of zip64 extra fields has become more lenient + * TarInputStream should now properly read GNU longlink entries' names. + apache#55040. + * and used to be too restrictive when evaluating + whether a given set of options is compatible with spawning the new + process, apache#55112. + * Corrected XSLTC error in , apache#54641. + * and many more, see WHATSNEW for details + +------------------------------------------------------------------- +Mon Jan 7 12:15:09 UTC 2013 - mvyskocil@suse.com + +- remove xerces-j2-bootstrap depenency (bnc#789163) + +------------------------------------------------------------------- +Wed May 30 11:46:44 UTC 2012 - cfarrell@suse.com + +- license update: CDDL-1.0 + SPDX format (note that it should CDDL-1.1 if the (c) owner and license + steward is Oracle) + +------------------------------------------------------------------- +Tue May 15 07:02:23 UTC 2012 - mvyskocil@suse.cz + +- build ignore java-1_7_0-openjdk as well + +------------------------------------------------------------------- +Wed Feb 1 12:54:47 UTC 2012 - mvyskocil@suse.cz + +- revert the Recommends to fix a lot of build fails + +------------------------------------------------------------------- +Wed Jan 25 09:54:17 UTC 2012 - mvyskocil@suse.cz + +- use new _mavendepmapfragdir macro instead of hardocded path +- change java-devel Requires to Recommends + +------------------------------------------------------------------- +Tue Jan 3 01:01:19 CET 2012 - dmueller@suse.de + +- use dist-lite and dist_javadocs to make javadoc build really + optional +- fix arm check (ifarch does not work in a noarch spec file) + +------------------------------------------------------------------- +Thu Dec 15 08:49:28 UTC 2011 - mvyskocil@suse.cz + +- use dist and javadocs targets to make javadoc build really configurable +- disable javadoc build on arm to speedup the build of java platform + +------------------------------------------------------------------- +Sat Sep 17 11:04:48 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile + +------------------------------------------------------------------- +Mon Mar 14 13:02:38 UTC 2011 - mvyskocil@suse.cz + +- ignore openjdk for build of core ant + +------------------------------------------------------------------- +Wed Mar 9 08:56:33 UTC 2011 - mvyskocil@suse.cz + +- Update to ant 1.8.2 + * performance improvements in directory scanning + * XSLT task honors classpath again (bugrep 49271) + * distinction between core tasks and optional tasks is abolished + * new task augment allows to add attributes or nested elements to previously + defined references + * Lexically scoped local properties, i.e. properties that are only defined + inside a target, sequential block or similar environment. This is very + useful inside of s where a macro can now define a temporary + property that will disappear once the task has finished. + * can now import from any file- or URL-providing resource - this + includes . This means can read build file snippets + from JARs or fixed server URLs. There are several other improvements in the + area of import. + * Various improvements to the directory scanning code that help with symbolic + link cycles (as can be found on MacOS X Java installations for example) and + improve scanning performance. For big directory trees the improvement is + dramatic. + * The way developers can extend Ant's property expansion algorithm has been + rewritten (breaking the older API) to be easier to use and be more + powerful. The whole local properties mechanism is implemented using that + API and could be implemented in a separate library without changes in Ant's + core. Things like the yet-to-be-released props Antlib can now provide often + required "scripty" fuctions without touching Ant itself. At the same time + the if and unless attributes have been rewritten to do the expected thing + if applied to a property expansion (i.e. if="${foo}" will mean "yes, do it" + if ${foo} expands to true, in Ant 1.7.1 it would mean "no" unless a + property named "true" existed). This adds "testing conditions" as a new + use-case to property expansion. + * A new top-level element assists in writing re-usable + build files that are meant to be imported. has a name and + a dependency-list like and can be used like a from the + command line or a dependency-list but the importing build file can add + targets to the 's depends list. + * Ant now requires Java 1.4 or later new task include provides an alternative + to that should be preferred when you don't want to override any + targets + * numerous bug fixes and improvements as documented in + Bugzilla and in WHATSNEW +- merge the nodeps and trax packages to main one +- build ant-antlr.spec using openjdk +- add ant-apache-xalan2 and ant-testutil +- remove all pom files, as they are included and build from source tarball + +------------------------------------------------------------------- +Fri Apr 9 10:41:42 UTC 2010 - mvyskocil@suse.cz + +- fix bnc#595144 - Compiled binary in ant + remove test.exe from source tarball + +------------------------------------------------------------------- +Thu Mar 18 15:58:41 UTC 2010 - mvyskocil@suse.cz + +- fix the compat symlinks + +------------------------------------------------------------------- +Wed Mar 17 15:05:43 UTC 2010 - mvyskocil@suse.cz + +- return back the /usr/share/ant/lib compat symlinks + http://lists.opensuse.org/opensuse-java/2010-03/msg00007.html + +------------------------------------------------------------------- +Wed Jun 17 10:22:10 CEST 2009 - mvyskocil@suse.cz + +- do not use Release number in Requires of subpackages + +------------------------------------------------------------------- +Sun May 3 11:37:14 CEST 2009 - ro@suse.de + +- do not assume release number for ant and ant-antlr are identical + +------------------------------------------------------------------- +Tue Apr 28 15:03:07 CEST 2009 - mvyskocil@suse.cz + +- update to 1.7.1. Upstream changes (full list is in WHATSNEW): + * String resources only have properties single expanded. If you relied on + resources being expanded more than once, it no longer happens. + Bugzilla report 42277. + + * A String resource's encoding attribute was only taken into account when + set from the resource's OutputStream; the InputStream provided the String's + binary content according to the platform's default encoding. Behavior has + been modified to encode outgoing (InputStream) content as well as encoding + incoming (OutputStream) content. + + * with fork now returns gives -1 instead of 0 as result when + * failonerror + is false and some exception (including timeout) occurs. Br 42377. + + * ant-type attribute has been marked as deprecated and a warning has been + issued if it is encountered in the build file. + + * FileUtils.createTempFile now actually creates the file. + The TempFile task still does not create the file by default, can be + instructed to do so however using a new parameter. Bugzilla report 33969. + +- added maven pom files from jpackage project +- synchronized ant.spec with jpackage.org 5.0 +- used ant-antlr-prepare.sh for generate of ant-antlr.spec from ant.spec to + keep them synchronized. Build is branched using value of %%bootstrap macro: + * bootstrap == 1 means build ant, ant-{jmf,nodeps,scripts,swing,trax} + * bootstrap == 0 means build rest of ant modules + ant-javadoc + +------------------------------------------------------------------- +Mon Nov 3 11:45:06 CET 2008 - mvyskocil@suse.cz + +- [bnc#440645] - ant fails without installed jdk: + - added a java-devel to Recommends: + +------------------------------------------------------------------- +Mon Jul 21 16:29:31 CEST 2008 - ro@suse.de + +- use xerces-j2-bootstrap to build (as early as possible) +- add java doc dir to filelist of javadoc subpackage to fix build + +------------------------------------------------------------------- +Wed Jul 16 14:11:41 CEST 2008 - coolo@suse.de + +- avoid another build cycle + +------------------------------------------------------------------- +Wed May 7 10:45:27 CEST 2008 - mvyskocil@suse.cz + +- build using gcj, to allow a openjdk6 bootstrap +- change a source and a target level to 1.5 in build.xml + +------------------------------------------------------------------- +Tue Aug 14 13:52:03 CEST 2007 - skh@suse.de + +- disable junit tests and remove junit from BuildRequires to break + circular build dependency + +------------------------------------------------------------------- +Fri Jul 6 19:24:52 CEST 2007 - dbornkessel@suse.de + +- update to version 1.7.0 + + major changes are (for a complete list, consult /usr/share/doc/packages/ant/WHATSNEW): + + Changes that could break older environments: + ------------------------------------------- + + * Initial support for JDK 6 (JSR 223) scripting. + <*script*> tasks will now use javax.scripting if BSF is + not available, or if explicitly requested by using + a "manager" attribute. + + * The -noproxy option which was in the previous 1.7 alpha and beta + releases has been removed. It is the default behavior and not needed. + + * Removed launcher classes from nodeps jar. + + * filter reader uses ISO-8859-1 encoding to read + the java class file. Bugzilla report 33604. + + * Defer reference process. Bugzilla 36955, 34458, 37688. + This may break build files in which a reference was set in a target which was + never executed. Historically, Ant would set the reference early on, during parse + time, so the datatype would be defined. Now it requires the reference to have + been in a bit of the build file which was actually executed. If you get + an error about an undefined reference, locate the reference and move it somewhere + where it is used, or fix the depends attribute of the target in question to + depend on the target which defines the reference/datatype. + + *