Accepting request 747068 from Java:packages
Upgrade to 1.10.7 + overhaul the packaging to have maven metadata and corresponding pom files in the same packages OBS-URL: https://build.opensuse.org/request/show/747068 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ant?expand=0&rev=80
This commit is contained in:
commit
572c464675
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 11:15:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream version 1.10.7
|
||||
- Modified patches:
|
||||
* apache-ant-bootstrap.patch
|
||||
* apache-ant-no-test-jar.patch
|
||||
* apache-ant-xml-apis.patch
|
||||
* reproducible-build-manifest.patch
|
||||
+ rediff
|
||||
- Fix ant-xz.jar to be non-empty and split it from the ant-antlr
|
||||
package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 08:34:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
145
ant-antlr.spec
145
ant-antlr.spec
@ -18,14 +18,13 @@
|
||||
|
||||
|
||||
%global ant_home %{_datadir}/ant
|
||||
%global major_version 1.9
|
||||
##### 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
|
||||
Version: 1.10.7
|
||||
Release: 0
|
||||
Summary: Antlr Task for ant
|
||||
License: Apache-2.0
|
||||
@ -65,6 +64,7 @@ BuildRequires: junit
|
||||
%endif
|
||||
%if %{with antlr}
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xz-java
|
||||
%endif
|
||||
%if %{with junit5}
|
||||
BuildRequires: apiguardian
|
||||
@ -89,8 +89,6 @@ Provides: ant-trax = %{version}
|
||||
%if %{with antlr}
|
||||
Requires: antlr
|
||||
%requires_eq ant
|
||||
Provides: ant-antlr = %{version}-%{release}
|
||||
Provides: ant-xz = %{version}-%{release}
|
||||
Obsoletes: ant-javadoc
|
||||
%endif
|
||||
%if %{with junit}
|
||||
@ -123,7 +121,6 @@ Summary: Optional jmf tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-jmf = %{version}-%{release}
|
||||
|
||||
%description -n ant-jmf
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -135,7 +132,6 @@ Summary: Optional swing tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-swing = %{version}-%{release}
|
||||
|
||||
%description -n ant-swing
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -283,6 +279,17 @@ Requires: regexp
|
||||
%description -n ant-apache-xalan2
|
||||
Optional apache xalan2 tasks for %{name}.
|
||||
|
||||
%package -n ant-imageio
|
||||
Summary: Optional imageio tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-imageio
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional imageio tasks for Apache Ant.
|
||||
|
||||
%package -n ant-javamail
|
||||
Summary: Optional javamail tasks for ant
|
||||
License: CDDL-1.0
|
||||
@ -322,6 +329,18 @@ Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional jsch tasks for Apache Ant.
|
||||
|
||||
%package -n ant-xz
|
||||
Summary: Opional xz tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: xz-java
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-xz
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional xz tasks for Apache Ant.
|
||||
|
||||
%package -n ant-testutil
|
||||
Summary: Test utility classes for ant
|
||||
License: Apache-2.0
|
||||
@ -348,6 +367,7 @@ This package contains the manual for Apache Ant.
|
||||
%setup -q -n apache-ant-%{version}
|
||||
#Fixup version
|
||||
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
|
||||
find -name \*.jar -print -delete
|
||||
|
||||
# When bootstrapping, we don't have junit
|
||||
%if %{with bootstrap}
|
||||
@ -380,7 +400,7 @@ 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 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver
|
||||
build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver xz-java
|
||||
%endif
|
||||
|
||||
# Fix file-not-utf8 rpmlint warning
|
||||
@ -403,7 +423,6 @@ rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
||||
%if %{with bootstrap}
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export JAVA_HOME="%{java_home}"
|
||||
export BOOTJAVAC_OPTS="-source 8 -target 8"
|
||||
sh -x ./build.sh --noconfig jars
|
||||
|
||||
%endif
|
||||
@ -441,14 +460,14 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
for jar in build/lib/*.jar
|
||||
do
|
||||
jarname=$(basename $jar .jar)
|
||||
pomname="JPP.ant-${jarname}.pom"
|
||||
pomname="${jarname}.pom"
|
||||
|
||||
#Determine where to put it
|
||||
case $jarname in
|
||||
#These go into %%{_javadir}, pom files have different names
|
||||
ant | ant-bootstrap | ant-launcher)
|
||||
%if %{with bootstrap}
|
||||
destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
|
||||
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";pomname="$jarname.pom"
|
||||
%else
|
||||
continue
|
||||
%endif
|
||||
@ -495,8 +514,14 @@ do
|
||||
%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
|
||||
elif [ "$jarname" = ant-antlr -o "$jarname" = ant-bootstrap ]; then
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
else
|
||||
%if %{with junit} || %{with junit5}
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
%else
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f ${jarname}
|
||||
%endif
|
||||
fi
|
||||
done
|
||||
|
||||
@ -557,9 +582,11 @@ echo "log4j12/log4j-12 ant/ant-apache-log4j" > %{buildroot}%{_sysconfdir}/ant.d/
|
||||
echo "oro ant/ant-apache-oro" > %{buildroot}%{_sysconfdir}/ant.d/apache-oro
|
||||
echo "regexp ant/ant-apache-regexp" > %{buildroot}%{_sysconfdir}/ant.d/apache-regexp
|
||||
echo "xalan-j2 ant/ant-apache-xalan2" > %{buildroot}%{_sysconfdir}/ant.d/apache-xalan2
|
||||
echo "ant/ant-imageio" > %{buildroot}%{_sysconfdir}/ant.d/imageio
|
||||
echo "javamail jaf ant/ant-javamail" > %{buildroot}%{_sysconfdir}/ant.d/javamail
|
||||
echo "jdepend ant/ant-jdepend" > %{buildroot}%{_sysconfdir}/ant.d/jdepend
|
||||
echo "jsch ant/ant-jsch" > %{buildroot}%{_sysconfdir}/ant.d/jsch
|
||||
echo "xz-java ant/ant-xz" > %{buildroot}%{_sysconfdir}/ant.d/xz
|
||||
echo "testutil ant/ant-testutil" > %{buildroot}%{_sysconfdir}/ant.d/testutil
|
||||
%endif
|
||||
|
||||
@ -579,9 +606,8 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
|
||||
%if %{with bootstrap}
|
||||
pushd %{buildroot}%{_javadir}
|
||||
mkdir -p ant
|
||||
for i in ant*.jar; do
|
||||
ln -sf ../${i} ant/${i}
|
||||
for i in ant-bootstrap ant-launcher ant; do
|
||||
ln -sf ant/${i}.jar ${i}.jar
|
||||
done
|
||||
popd
|
||||
|
||||
@ -591,10 +617,9 @@ popd
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}/%{name}.jar
|
||||
%{_javadir}/%{name}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}-bootstrap.jar
|
||||
%{_javadir}/%{name}/%{name}-bootstrap.jar
|
||||
%dir %{_javadir}/%{name}
|
||||
%dir %{ant_home}
|
||||
%dir %{ant_home}%{_sysconfdir}
|
||||
@ -617,20 +642,9 @@ popd
|
||||
%endif
|
||||
|
||||
%if %{with antlr}
|
||||
%files
|
||||
%{_javadir}/ant/ant-antlr.jar
|
||||
%files -f .mfiles
|
||||
%{ant_home}/lib/ant-antlr.jar
|
||||
%{_javadir}/ant/ant-xz.jar
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/antlr
|
||||
%{_mavenpomdir}/JPP.ant-ant-antlr.pom
|
||||
%{_mavenpomdir}/JPP.ant-ant-xz.pom
|
||||
%if %{defined _maven_repository}
|
||||
%config(noreplace) %{_mavendepmapfragdir}/ant-antlr
|
||||
%else
|
||||
%{_datadir}/maven-metadata/ant-antlr.xml
|
||||
%endif
|
||||
%dir %{_mavenpomdir}
|
||||
%endif
|
||||
|
||||
%if %{with junit}
|
||||
@ -665,99 +679,68 @@ popd
|
||||
%endif #if bootstrap
|
||||
|
||||
%if %{with antlr}
|
||||
%files -n ant-apache-bsf
|
||||
%{_javadir}/ant/ant-apache-bsf.jar
|
||||
%files -n ant-apache-bsf -f .mfiles-ant-apache-bsf
|
||||
%{ant_home}/lib/ant-apache-bsf.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bsf
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bsf.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-resolver
|
||||
%{_javadir}/ant/ant-apache-resolver.jar
|
||||
%files -n ant-apache-resolver -f .mfiles-ant-apache-resolver
|
||||
%{ant_home}/lib/ant-apache-resolver.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-resolver
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-resolver.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-logging
|
||||
%{_javadir}/ant/ant-commons-logging.jar
|
||||
%files -n ant-commons-logging -f .mfiles-ant-commons-logging
|
||||
%{ant_home}/lib/ant-commons-logging.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-logging
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-logging.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-net
|
||||
%{_javadir}/ant/ant-commons-net.jar
|
||||
%files -n ant-commons-net -f .mfiles-ant-commons-net
|
||||
%{ant_home}/lib/ant-commons-net.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-net
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-net.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-bcel
|
||||
%{_javadir}/ant/ant-apache-bcel.jar
|
||||
%files -n ant-apache-bcel -f .mfiles-ant-apache-bcel
|
||||
%{ant_home}/lib/ant-apache-bcel.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bcel
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bcel.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-log4j
|
||||
%{_javadir}/ant/ant-apache-log4j.jar
|
||||
%files -n ant-apache-log4j -f .mfiles-ant-apache-log4j
|
||||
%{ant_home}/lib/ant-apache-log4j.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-log4j
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-log4j.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-oro
|
||||
%{_javadir}/ant/ant-apache-oro.jar
|
||||
%files -n ant-apache-oro -f .mfiles-ant-apache-oro
|
||||
%{ant_home}/lib/ant-apache-oro.jar
|
||||
%{ant_home}%{_sysconfdir}/maudit-frames.xsl
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-oro
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-oro.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-regexp
|
||||
%{_javadir}/ant/ant-apache-regexp.jar
|
||||
%files -n ant-apache-regexp -f .mfiles-ant-apache-regexp
|
||||
%{ant_home}/lib/ant-apache-regexp.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-regexp
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-regexp.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-xalan2
|
||||
%{_javadir}/ant/ant-apache-xalan2.jar
|
||||
%files -n ant-apache-xalan2 -f .mfiles-ant-apache-xalan2
|
||||
%{ant_home}/lib/ant-apache-xalan2.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-xalan2
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-xalan2.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-javamail
|
||||
%{_javadir}/ant/ant-javamail.jar
|
||||
%files -n ant-imageio -f .mfiles-ant-imageio
|
||||
%{ant_home}/lib/ant-imageio.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/imageio
|
||||
|
||||
%files -n ant-javamail -f .mfiles-ant-javamail
|
||||
%{ant_home}/lib/ant-javamail.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/javamail
|
||||
%{_mavenpomdir}/JPP.ant-ant-javamail.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jdepend
|
||||
%{_javadir}/ant/ant-jdepend.jar
|
||||
%files -n ant-jdepend -f .mfiles-ant-jdepend
|
||||
%{ant_home}/lib/ant-jdepend.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jdepend
|
||||
%{ant_home}%{_sysconfdir}/jdepend.xsl
|
||||
%{ant_home}%{_sysconfdir}/jdepend-frames.xsl
|
||||
%{_mavenpomdir}/JPP.ant-ant-jdepend.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jsch
|
||||
%{_javadir}/ant/ant-jsch.jar
|
||||
%files -n ant-jsch -f .mfiles-ant-jsch
|
||||
%{ant_home}/lib/ant-jsch.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jsch
|
||||
%{_mavenpomdir}/JPP.ant-ant-jsch.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-testutil
|
||||
%{_javadir}/ant/ant-testutil.jar
|
||||
%files -n ant-xz -f .mfiles-ant-xz
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/xz
|
||||
|
||||
%files -n ant-testutil -f .mfiles-ant-testutil
|
||||
%{ant_home}/lib/ant-testutil.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/testutil
|
||||
%{_mavenpomdir}/JPP.ant-ant-testutil.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-manual
|
||||
%doc manual/*
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 11:15:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream version 1.10.7
|
||||
- Modified patches:
|
||||
* apache-ant-bootstrap.patch
|
||||
* apache-ant-no-test-jar.patch
|
||||
* apache-ant-xml-apis.patch
|
||||
* reproducible-build-manifest.patch
|
||||
+ rediff
|
||||
- Fix ant-xz.jar to be non-empty and split it from the ant-antlr
|
||||
package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 08:34:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
145
ant-junit.spec
145
ant-junit.spec
@ -18,14 +18,13 @@
|
||||
|
||||
|
||||
%global ant_home %{_datadir}/ant
|
||||
%global major_version 1.9
|
||||
##### 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
|
||||
Version: 1.10.7
|
||||
Release: 0
|
||||
Summary: Optional junit tasks for ant
|
||||
License: Apache-2.0
|
||||
@ -65,6 +64,7 @@ BuildRequires: junit
|
||||
%endif
|
||||
%if %{with antlr}
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xz-java
|
||||
%endif
|
||||
%if %{with junit5}
|
||||
BuildRequires: apiguardian
|
||||
@ -89,8 +89,6 @@ Provides: ant-trax = %{version}
|
||||
%if %{with antlr}
|
||||
Requires: antlr
|
||||
%requires_eq ant
|
||||
Provides: ant-antlr = %{version}-%{release}
|
||||
Provides: ant-xz = %{version}-%{release}
|
||||
Obsoletes: ant-javadoc
|
||||
%endif
|
||||
%if %{with junit}
|
||||
@ -123,7 +121,6 @@ Summary: Optional jmf tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-jmf = %{version}-%{release}
|
||||
|
||||
%description -n ant-jmf
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -135,7 +132,6 @@ Summary: Optional swing tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-swing = %{version}-%{release}
|
||||
|
||||
%description -n ant-swing
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -283,6 +279,17 @@ Requires: regexp
|
||||
%description -n ant-apache-xalan2
|
||||
Optional apache xalan2 tasks for %{name}.
|
||||
|
||||
%package -n ant-imageio
|
||||
Summary: Optional imageio tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-imageio
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional imageio tasks for Apache Ant.
|
||||
|
||||
%package -n ant-javamail
|
||||
Summary: Optional javamail tasks for ant
|
||||
License: CDDL-1.0
|
||||
@ -322,6 +329,18 @@ Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional jsch tasks for Apache Ant.
|
||||
|
||||
%package -n ant-xz
|
||||
Summary: Opional xz tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: xz-java
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-xz
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional xz tasks for Apache Ant.
|
||||
|
||||
%package -n ant-testutil
|
||||
Summary: Test utility classes for ant
|
||||
License: Apache-2.0
|
||||
@ -348,6 +367,7 @@ This package contains the manual for Apache Ant.
|
||||
%setup -q -n apache-ant-%{version}
|
||||
#Fixup version
|
||||
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
|
||||
find -name \*.jar -print -delete
|
||||
|
||||
# When bootstrapping, we don't have junit
|
||||
%if %{with bootstrap}
|
||||
@ -380,7 +400,7 @@ 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 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver
|
||||
build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver xz-java
|
||||
%endif
|
||||
|
||||
# Fix file-not-utf8 rpmlint warning
|
||||
@ -403,7 +423,6 @@ rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
||||
%if %{with bootstrap}
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export JAVA_HOME="%{java_home}"
|
||||
export BOOTJAVAC_OPTS="-source 8 -target 8"
|
||||
sh -x ./build.sh --noconfig jars
|
||||
|
||||
%endif
|
||||
@ -441,14 +460,14 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
for jar in build/lib/*.jar
|
||||
do
|
||||
jarname=$(basename $jar .jar)
|
||||
pomname="JPP.ant-${jarname}.pom"
|
||||
pomname="${jarname}.pom"
|
||||
|
||||
#Determine where to put it
|
||||
case $jarname in
|
||||
#These go into %%{_javadir}, pom files have different names
|
||||
ant | ant-bootstrap | ant-launcher)
|
||||
%if %{with bootstrap}
|
||||
destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
|
||||
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";pomname="$jarname.pom"
|
||||
%else
|
||||
continue
|
||||
%endif
|
||||
@ -495,8 +514,14 @@ do
|
||||
%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
|
||||
elif [ "$jarname" = ant-antlr -o "$jarname" = ant-bootstrap ]; then
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
else
|
||||
%if %{with junit} || %{with junit5}
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
%else
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f ${jarname}
|
||||
%endif
|
||||
fi
|
||||
done
|
||||
|
||||
@ -557,9 +582,11 @@ echo "log4j12/log4j-12 ant/ant-apache-log4j" > %{buildroot}%{_sysconfdir}/ant.d/
|
||||
echo "oro ant/ant-apache-oro" > %{buildroot}%{_sysconfdir}/ant.d/apache-oro
|
||||
echo "regexp ant/ant-apache-regexp" > %{buildroot}%{_sysconfdir}/ant.d/apache-regexp
|
||||
echo "xalan-j2 ant/ant-apache-xalan2" > %{buildroot}%{_sysconfdir}/ant.d/apache-xalan2
|
||||
echo "ant/ant-imageio" > %{buildroot}%{_sysconfdir}/ant.d/imageio
|
||||
echo "javamail jaf ant/ant-javamail" > %{buildroot}%{_sysconfdir}/ant.d/javamail
|
||||
echo "jdepend ant/ant-jdepend" > %{buildroot}%{_sysconfdir}/ant.d/jdepend
|
||||
echo "jsch ant/ant-jsch" > %{buildroot}%{_sysconfdir}/ant.d/jsch
|
||||
echo "xz-java ant/ant-xz" > %{buildroot}%{_sysconfdir}/ant.d/xz
|
||||
echo "testutil ant/ant-testutil" > %{buildroot}%{_sysconfdir}/ant.d/testutil
|
||||
%endif
|
||||
|
||||
@ -579,9 +606,8 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
|
||||
%if %{with bootstrap}
|
||||
pushd %{buildroot}%{_javadir}
|
||||
mkdir -p ant
|
||||
for i in ant*.jar; do
|
||||
ln -sf ../${i} ant/${i}
|
||||
for i in ant-bootstrap ant-launcher ant; do
|
||||
ln -sf ant/${i}.jar ${i}.jar
|
||||
done
|
||||
popd
|
||||
|
||||
@ -591,10 +617,9 @@ popd
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}/%{name}.jar
|
||||
%{_javadir}/%{name}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}-bootstrap.jar
|
||||
%{_javadir}/%{name}/%{name}-bootstrap.jar
|
||||
%dir %{_javadir}/%{name}
|
||||
%dir %{ant_home}
|
||||
%dir %{ant_home}%{_sysconfdir}
|
||||
@ -617,20 +642,9 @@ popd
|
||||
%endif
|
||||
|
||||
%if %{with antlr}
|
||||
%files
|
||||
%{_javadir}/ant/ant-antlr.jar
|
||||
%files -f .mfiles
|
||||
%{ant_home}/lib/ant-antlr.jar
|
||||
%{_javadir}/ant/ant-xz.jar
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/antlr
|
||||
%{_mavenpomdir}/JPP.ant-ant-antlr.pom
|
||||
%{_mavenpomdir}/JPP.ant-ant-xz.pom
|
||||
%if %{defined _maven_repository}
|
||||
%config(noreplace) %{_mavendepmapfragdir}/ant-antlr
|
||||
%else
|
||||
%{_datadir}/maven-metadata/ant-antlr.xml
|
||||
%endif
|
||||
%dir %{_mavenpomdir}
|
||||
%endif
|
||||
|
||||
%if %{with junit}
|
||||
@ -665,99 +679,68 @@ popd
|
||||
%endif #if bootstrap
|
||||
|
||||
%if %{with antlr}
|
||||
%files -n ant-apache-bsf
|
||||
%{_javadir}/ant/ant-apache-bsf.jar
|
||||
%files -n ant-apache-bsf -f .mfiles-ant-apache-bsf
|
||||
%{ant_home}/lib/ant-apache-bsf.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bsf
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bsf.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-resolver
|
||||
%{_javadir}/ant/ant-apache-resolver.jar
|
||||
%files -n ant-apache-resolver -f .mfiles-ant-apache-resolver
|
||||
%{ant_home}/lib/ant-apache-resolver.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-resolver
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-resolver.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-logging
|
||||
%{_javadir}/ant/ant-commons-logging.jar
|
||||
%files -n ant-commons-logging -f .mfiles-ant-commons-logging
|
||||
%{ant_home}/lib/ant-commons-logging.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-logging
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-logging.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-net
|
||||
%{_javadir}/ant/ant-commons-net.jar
|
||||
%files -n ant-commons-net -f .mfiles-ant-commons-net
|
||||
%{ant_home}/lib/ant-commons-net.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-net
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-net.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-bcel
|
||||
%{_javadir}/ant/ant-apache-bcel.jar
|
||||
%files -n ant-apache-bcel -f .mfiles-ant-apache-bcel
|
||||
%{ant_home}/lib/ant-apache-bcel.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bcel
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bcel.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-log4j
|
||||
%{_javadir}/ant/ant-apache-log4j.jar
|
||||
%files -n ant-apache-log4j -f .mfiles-ant-apache-log4j
|
||||
%{ant_home}/lib/ant-apache-log4j.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-log4j
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-log4j.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-oro
|
||||
%{_javadir}/ant/ant-apache-oro.jar
|
||||
%files -n ant-apache-oro -f .mfiles-ant-apache-oro
|
||||
%{ant_home}/lib/ant-apache-oro.jar
|
||||
%{ant_home}%{_sysconfdir}/maudit-frames.xsl
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-oro
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-oro.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-regexp
|
||||
%{_javadir}/ant/ant-apache-regexp.jar
|
||||
%files -n ant-apache-regexp -f .mfiles-ant-apache-regexp
|
||||
%{ant_home}/lib/ant-apache-regexp.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-regexp
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-regexp.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-xalan2
|
||||
%{_javadir}/ant/ant-apache-xalan2.jar
|
||||
%files -n ant-apache-xalan2 -f .mfiles-ant-apache-xalan2
|
||||
%{ant_home}/lib/ant-apache-xalan2.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-xalan2
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-xalan2.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-javamail
|
||||
%{_javadir}/ant/ant-javamail.jar
|
||||
%files -n ant-imageio -f .mfiles-ant-imageio
|
||||
%{ant_home}/lib/ant-imageio.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/imageio
|
||||
|
||||
%files -n ant-javamail -f .mfiles-ant-javamail
|
||||
%{ant_home}/lib/ant-javamail.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/javamail
|
||||
%{_mavenpomdir}/JPP.ant-ant-javamail.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jdepend
|
||||
%{_javadir}/ant/ant-jdepend.jar
|
||||
%files -n ant-jdepend -f .mfiles-ant-jdepend
|
||||
%{ant_home}/lib/ant-jdepend.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jdepend
|
||||
%{ant_home}%{_sysconfdir}/jdepend.xsl
|
||||
%{ant_home}%{_sysconfdir}/jdepend-frames.xsl
|
||||
%{_mavenpomdir}/JPP.ant-ant-jdepend.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jsch
|
||||
%{_javadir}/ant/ant-jsch.jar
|
||||
%files -n ant-jsch -f .mfiles-ant-jsch
|
||||
%{ant_home}/lib/ant-jsch.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jsch
|
||||
%{_mavenpomdir}/JPP.ant-ant-jsch.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-testutil
|
||||
%{_javadir}/ant/ant-testutil.jar
|
||||
%files -n ant-xz -f .mfiles-ant-xz
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/xz
|
||||
|
||||
%files -n ant-testutil -f .mfiles-ant-testutil
|
||||
%{ant_home}/lib/ant-testutil.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/testutil
|
||||
%{_mavenpomdir}/JPP.ant-ant-testutil.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-manual
|
||||
%doc manual/*
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 11:15:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream version 1.10.7
|
||||
- Modified patches:
|
||||
* apache-ant-bootstrap.patch
|
||||
* apache-ant-no-test-jar.patch
|
||||
* apache-ant-xml-apis.patch
|
||||
* reproducible-build-manifest.patch
|
||||
+ rediff
|
||||
- Fix ant-xz.jar to be non-empty and split it from the ant-antlr
|
||||
package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 08:34:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
145
ant-junit5.spec
145
ant-junit5.spec
@ -18,14 +18,13 @@
|
||||
|
||||
|
||||
%global ant_home %{_datadir}/ant
|
||||
%global major_version 1.9
|
||||
##### WARNING: please do not edit this auto generated spec file. Use the ant.spec! #####
|
||||
%bcond_with bootstrap
|
||||
%bcond_with junit
|
||||
%bcond_without junit5
|
||||
%bcond_with antlr
|
||||
Name: ant-junit5
|
||||
Version: 1.10.5
|
||||
Version: 1.10.7
|
||||
Release: 0
|
||||
Summary: Optional junit tasks for ant
|
||||
License: Apache-2.0
|
||||
@ -65,6 +64,7 @@ BuildRequires: junit
|
||||
%endif
|
||||
%if %{with antlr}
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xz-java
|
||||
%endif
|
||||
%if %{with junit5}
|
||||
BuildRequires: apiguardian
|
||||
@ -89,8 +89,6 @@ Provides: ant-trax = %{version}
|
||||
%if %{with antlr}
|
||||
Requires: antlr
|
||||
%requires_eq ant
|
||||
Provides: ant-antlr = %{version}-%{release}
|
||||
Provides: ant-xz = %{version}-%{release}
|
||||
Obsoletes: ant-javadoc
|
||||
%endif
|
||||
%if %{with junit}
|
||||
@ -123,7 +121,6 @@ Summary: Optional jmf tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-jmf = %{version}-%{release}
|
||||
|
||||
%description -n ant-jmf
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -135,7 +132,6 @@ Summary: Optional swing tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-swing = %{version}-%{release}
|
||||
|
||||
%description -n ant-swing
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -283,6 +279,17 @@ Requires: regexp
|
||||
%description -n ant-apache-xalan2
|
||||
Optional apache xalan2 tasks for %{name}.
|
||||
|
||||
%package -n ant-imageio
|
||||
Summary: Optional imageio tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-imageio
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional imageio tasks for Apache Ant.
|
||||
|
||||
%package -n ant-javamail
|
||||
Summary: Optional javamail tasks for ant
|
||||
License: CDDL-1.0
|
||||
@ -322,6 +329,18 @@ Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional jsch tasks for Apache Ant.
|
||||
|
||||
%package -n ant-xz
|
||||
Summary: Opional xz tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: xz-java
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-xz
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional xz tasks for Apache Ant.
|
||||
|
||||
%package -n ant-testutil
|
||||
Summary: Test utility classes for ant
|
||||
License: Apache-2.0
|
||||
@ -348,6 +367,7 @@ This package contains the manual for Apache Ant.
|
||||
%setup -q -n apache-ant-%{version}
|
||||
#Fixup version
|
||||
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
|
||||
find -name \*.jar -print -delete
|
||||
|
||||
# When bootstrapping, we don't have junit
|
||||
%if %{with bootstrap}
|
||||
@ -380,7 +400,7 @@ 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 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver
|
||||
build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver xz-java
|
||||
%endif
|
||||
|
||||
# Fix file-not-utf8 rpmlint warning
|
||||
@ -403,7 +423,6 @@ rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
||||
%if %{with bootstrap}
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export JAVA_HOME="%{java_home}"
|
||||
export BOOTJAVAC_OPTS="-source 8 -target 8"
|
||||
sh -x ./build.sh --noconfig jars
|
||||
|
||||
%endif
|
||||
@ -441,14 +460,14 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
for jar in build/lib/*.jar
|
||||
do
|
||||
jarname=$(basename $jar .jar)
|
||||
pomname="JPP.ant-${jarname}.pom"
|
||||
pomname="${jarname}.pom"
|
||||
|
||||
#Determine where to put it
|
||||
case $jarname in
|
||||
#These go into %%{_javadir}, pom files have different names
|
||||
ant | ant-bootstrap | ant-launcher)
|
||||
%if %{with bootstrap}
|
||||
destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
|
||||
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";pomname="$jarname.pom"
|
||||
%else
|
||||
continue
|
||||
%endif
|
||||
@ -495,8 +514,14 @@ do
|
||||
%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
|
||||
elif [ "$jarname" = ant-antlr -o "$jarname" = ant-bootstrap ]; then
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
else
|
||||
%if %{with junit} || %{with junit5}
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
%else
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f ${jarname}
|
||||
%endif
|
||||
fi
|
||||
done
|
||||
|
||||
@ -557,9 +582,11 @@ echo "log4j12/log4j-12 ant/ant-apache-log4j" > %{buildroot}%{_sysconfdir}/ant.d/
|
||||
echo "oro ant/ant-apache-oro" > %{buildroot}%{_sysconfdir}/ant.d/apache-oro
|
||||
echo "regexp ant/ant-apache-regexp" > %{buildroot}%{_sysconfdir}/ant.d/apache-regexp
|
||||
echo "xalan-j2 ant/ant-apache-xalan2" > %{buildroot}%{_sysconfdir}/ant.d/apache-xalan2
|
||||
echo "ant/ant-imageio" > %{buildroot}%{_sysconfdir}/ant.d/imageio
|
||||
echo "javamail jaf ant/ant-javamail" > %{buildroot}%{_sysconfdir}/ant.d/javamail
|
||||
echo "jdepend ant/ant-jdepend" > %{buildroot}%{_sysconfdir}/ant.d/jdepend
|
||||
echo "jsch ant/ant-jsch" > %{buildroot}%{_sysconfdir}/ant.d/jsch
|
||||
echo "xz-java ant/ant-xz" > %{buildroot}%{_sysconfdir}/ant.d/xz
|
||||
echo "testutil ant/ant-testutil" > %{buildroot}%{_sysconfdir}/ant.d/testutil
|
||||
%endif
|
||||
|
||||
@ -579,9 +606,8 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
|
||||
%if %{with bootstrap}
|
||||
pushd %{buildroot}%{_javadir}
|
||||
mkdir -p ant
|
||||
for i in ant*.jar; do
|
||||
ln -sf ../${i} ant/${i}
|
||||
for i in ant-bootstrap ant-launcher ant; do
|
||||
ln -sf ant/${i}.jar ${i}.jar
|
||||
done
|
||||
popd
|
||||
|
||||
@ -591,10 +617,9 @@ popd
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}/%{name}.jar
|
||||
%{_javadir}/%{name}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}-bootstrap.jar
|
||||
%{_javadir}/%{name}/%{name}-bootstrap.jar
|
||||
%dir %{_javadir}/%{name}
|
||||
%dir %{ant_home}
|
||||
%dir %{ant_home}%{_sysconfdir}
|
||||
@ -617,20 +642,9 @@ popd
|
||||
%endif
|
||||
|
||||
%if %{with antlr}
|
||||
%files
|
||||
%{_javadir}/ant/ant-antlr.jar
|
||||
%files -f .mfiles
|
||||
%{ant_home}/lib/ant-antlr.jar
|
||||
%{_javadir}/ant/ant-xz.jar
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/antlr
|
||||
%{_mavenpomdir}/JPP.ant-ant-antlr.pom
|
||||
%{_mavenpomdir}/JPP.ant-ant-xz.pom
|
||||
%if %{defined _maven_repository}
|
||||
%config(noreplace) %{_mavendepmapfragdir}/ant-antlr
|
||||
%else
|
||||
%{_datadir}/maven-metadata/ant-antlr.xml
|
||||
%endif
|
||||
%dir %{_mavenpomdir}
|
||||
%endif
|
||||
|
||||
%if %{with junit}
|
||||
@ -665,99 +679,68 @@ popd
|
||||
%endif #if bootstrap
|
||||
|
||||
%if %{with antlr}
|
||||
%files -n ant-apache-bsf
|
||||
%{_javadir}/ant/ant-apache-bsf.jar
|
||||
%files -n ant-apache-bsf -f .mfiles-ant-apache-bsf
|
||||
%{ant_home}/lib/ant-apache-bsf.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bsf
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bsf.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-resolver
|
||||
%{_javadir}/ant/ant-apache-resolver.jar
|
||||
%files -n ant-apache-resolver -f .mfiles-ant-apache-resolver
|
||||
%{ant_home}/lib/ant-apache-resolver.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-resolver
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-resolver.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-logging
|
||||
%{_javadir}/ant/ant-commons-logging.jar
|
||||
%files -n ant-commons-logging -f .mfiles-ant-commons-logging
|
||||
%{ant_home}/lib/ant-commons-logging.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-logging
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-logging.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-net
|
||||
%{_javadir}/ant/ant-commons-net.jar
|
||||
%files -n ant-commons-net -f .mfiles-ant-commons-net
|
||||
%{ant_home}/lib/ant-commons-net.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-net
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-net.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-bcel
|
||||
%{_javadir}/ant/ant-apache-bcel.jar
|
||||
%files -n ant-apache-bcel -f .mfiles-ant-apache-bcel
|
||||
%{ant_home}/lib/ant-apache-bcel.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bcel
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bcel.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-log4j
|
||||
%{_javadir}/ant/ant-apache-log4j.jar
|
||||
%files -n ant-apache-log4j -f .mfiles-ant-apache-log4j
|
||||
%{ant_home}/lib/ant-apache-log4j.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-log4j
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-log4j.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-oro
|
||||
%{_javadir}/ant/ant-apache-oro.jar
|
||||
%files -n ant-apache-oro -f .mfiles-ant-apache-oro
|
||||
%{ant_home}/lib/ant-apache-oro.jar
|
||||
%{ant_home}%{_sysconfdir}/maudit-frames.xsl
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-oro
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-oro.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-regexp
|
||||
%{_javadir}/ant/ant-apache-regexp.jar
|
||||
%files -n ant-apache-regexp -f .mfiles-ant-apache-regexp
|
||||
%{ant_home}/lib/ant-apache-regexp.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-regexp
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-regexp.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-xalan2
|
||||
%{_javadir}/ant/ant-apache-xalan2.jar
|
||||
%files -n ant-apache-xalan2 -f .mfiles-ant-apache-xalan2
|
||||
%{ant_home}/lib/ant-apache-xalan2.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-xalan2
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-xalan2.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-javamail
|
||||
%{_javadir}/ant/ant-javamail.jar
|
||||
%files -n ant-imageio -f .mfiles-ant-imageio
|
||||
%{ant_home}/lib/ant-imageio.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/imageio
|
||||
|
||||
%files -n ant-javamail -f .mfiles-ant-javamail
|
||||
%{ant_home}/lib/ant-javamail.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/javamail
|
||||
%{_mavenpomdir}/JPP.ant-ant-javamail.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jdepend
|
||||
%{_javadir}/ant/ant-jdepend.jar
|
||||
%files -n ant-jdepend -f .mfiles-ant-jdepend
|
||||
%{ant_home}/lib/ant-jdepend.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jdepend
|
||||
%{ant_home}%{_sysconfdir}/jdepend.xsl
|
||||
%{ant_home}%{_sysconfdir}/jdepend-frames.xsl
|
||||
%{_mavenpomdir}/JPP.ant-ant-jdepend.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jsch
|
||||
%{_javadir}/ant/ant-jsch.jar
|
||||
%files -n ant-jsch -f .mfiles-ant-jsch
|
||||
%{ant_home}/lib/ant-jsch.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jsch
|
||||
%{_mavenpomdir}/JPP.ant-ant-jsch.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-testutil
|
||||
%{_javadir}/ant/ant-testutil.jar
|
||||
%files -n ant-xz -f .mfiles-ant-xz
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/xz
|
||||
|
||||
%files -n ant-testutil -f .mfiles-ant-testutil
|
||||
%{ant_home}/lib/ant-testutil.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/testutil
|
||||
%{_mavenpomdir}/JPP.ant-ant-testutil.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-manual
|
||||
%doc manual/*
|
||||
|
13
ant.changes
13
ant.changes
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 8 11:15:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Upgrade to upstream version 1.10.7
|
||||
- Modified patches:
|
||||
* apache-ant-bootstrap.patch
|
||||
* apache-ant-no-test-jar.patch
|
||||
* apache-ant-xml-apis.patch
|
||||
* reproducible-build-manifest.patch
|
||||
+ rediff
|
||||
- Fix ant-xz.jar to be non-empty and split it from the ant-antlr
|
||||
package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 08:34:33 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
1572
ant.keyring
1572
ant.keyring
File diff suppressed because it is too large
Load Diff
145
ant.spec
145
ant.spec
@ -18,13 +18,12 @@
|
||||
|
||||
|
||||
%global ant_home %{_datadir}/ant
|
||||
%global major_version 1.9
|
||||
%bcond_without bootstrap
|
||||
%bcond_with junit
|
||||
%bcond_with junit5
|
||||
%bcond_with antlr
|
||||
Name: ant
|
||||
Version: 1.10.5
|
||||
Version: 1.10.7
|
||||
Release: 0
|
||||
Summary: Java-based build tool
|
||||
License: Apache-2.0
|
||||
@ -64,6 +63,7 @@ BuildRequires: junit
|
||||
%endif
|
||||
%if %{with antlr}
|
||||
BuildRequires: xerces-j2
|
||||
BuildRequires: xz-java
|
||||
%endif
|
||||
%if %{with junit5}
|
||||
BuildRequires: apiguardian
|
||||
@ -88,8 +88,6 @@ Provides: ant-trax = %{version}
|
||||
%if %{with antlr}
|
||||
Requires: antlr
|
||||
%requires_eq ant
|
||||
Provides: ant-antlr = %{version}-%{release}
|
||||
Provides: ant-xz = %{version}-%{release}
|
||||
Obsoletes: ant-javadoc
|
||||
%endif
|
||||
%if %{with junit}
|
||||
@ -122,7 +120,6 @@ Summary: Optional jmf tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-jmf = %{version}-%{release}
|
||||
|
||||
%description -n ant-jmf
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -134,7 +131,6 @@ Summary: Optional swing tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: ant = %{version}
|
||||
Provides: ant-swing = %{version}-%{release}
|
||||
|
||||
%description -n ant-swing
|
||||
Apache Ant is a Java-based build tool.
|
||||
@ -282,6 +278,17 @@ Requires: regexp
|
||||
%description -n ant-apache-xalan2
|
||||
Optional apache xalan2 tasks for %{name}.
|
||||
|
||||
%package -n ant-imageio
|
||||
Summary: Optional imageio tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-imageio
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional imageio tasks for Apache Ant.
|
||||
|
||||
%package -n ant-javamail
|
||||
Summary: Optional javamail tasks for ant
|
||||
License: CDDL-1.0
|
||||
@ -321,6 +328,18 @@ Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional jsch tasks for Apache Ant.
|
||||
|
||||
%package -n ant-xz
|
||||
Summary: Opional xz tasks for ant
|
||||
License: Apache-2.0
|
||||
Group: Development/Tools/Building
|
||||
Requires: xz-java
|
||||
%requires_eq ant
|
||||
|
||||
%description -n ant-xz
|
||||
Apache Ant is a Java-based build tool.
|
||||
|
||||
This package contains optional xz tasks for Apache Ant.
|
||||
|
||||
%package -n ant-testutil
|
||||
Summary: Test utility classes for ant
|
||||
License: Apache-2.0
|
||||
@ -347,6 +366,7 @@ This package contains the manual for Apache Ant.
|
||||
%setup -q -n apache-ant-%{version}
|
||||
#Fixup version
|
||||
find -name build.xml -o -name pom.xml | xargs sed -i -e s/-SNAPSHOT//
|
||||
find -name \*.jar -print -delete
|
||||
|
||||
# When bootstrapping, we don't have junit
|
||||
%if %{with bootstrap}
|
||||
@ -379,7 +399,7 @@ 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 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver
|
||||
build-jar-repository -s -p lib/optional xerces-j2 xml-apis antlr-bootstrap bcel javamail/mailapi jdepend junit4 log4j12/log4j-12 oro regexp bsf commons-logging commons-net jsch xalan-j2 xalan-j2-serializer xml-resolver xz-java
|
||||
%endif
|
||||
|
||||
# Fix file-not-utf8 rpmlint warning
|
||||
@ -402,7 +422,6 @@ rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
||||
%if %{with bootstrap}
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export JAVA_HOME="%{java_home}"
|
||||
export BOOTJAVAC_OPTS="-source 8 -target 8"
|
||||
sh -x ./build.sh --noconfig jars
|
||||
|
||||
%endif
|
||||
@ -440,14 +459,14 @@ install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
for jar in build/lib/*.jar
|
||||
do
|
||||
jarname=$(basename $jar .jar)
|
||||
pomname="JPP.ant-${jarname}.pom"
|
||||
pomname="${jarname}.pom"
|
||||
|
||||
#Determine where to put it
|
||||
case $jarname in
|
||||
#These go into %%{_javadir}, pom files have different names
|
||||
ant | ant-bootstrap | ant-launcher)
|
||||
%if %{with bootstrap}
|
||||
destdir="%{buildroot}%{_javadir}"; destname="";pomname="JPP-$jarname.pom"
|
||||
destdir="%{buildroot}%{_javadir}/ant"; destname="ant/";pomname="$jarname.pom"
|
||||
%else
|
||||
continue
|
||||
%endif
|
||||
@ -494,8 +513,14 @@ do
|
||||
%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
|
||||
elif [ "$jarname" = ant-antlr -o "$jarname" = ant-bootstrap ]; then
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
else
|
||||
%if %{with junit} || %{with junit5}
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
%else
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar -f ${jarname}
|
||||
%endif
|
||||
fi
|
||||
done
|
||||
|
||||
@ -556,9 +581,11 @@ echo "log4j12/log4j-12 ant/ant-apache-log4j" > %{buildroot}%{_sysconfdir}/ant.d/
|
||||
echo "oro ant/ant-apache-oro" > %{buildroot}%{_sysconfdir}/ant.d/apache-oro
|
||||
echo "regexp ant/ant-apache-regexp" > %{buildroot}%{_sysconfdir}/ant.d/apache-regexp
|
||||
echo "xalan-j2 ant/ant-apache-xalan2" > %{buildroot}%{_sysconfdir}/ant.d/apache-xalan2
|
||||
echo "ant/ant-imageio" > %{buildroot}%{_sysconfdir}/ant.d/imageio
|
||||
echo "javamail jaf ant/ant-javamail" > %{buildroot}%{_sysconfdir}/ant.d/javamail
|
||||
echo "jdepend ant/ant-jdepend" > %{buildroot}%{_sysconfdir}/ant.d/jdepend
|
||||
echo "jsch ant/ant-jsch" > %{buildroot}%{_sysconfdir}/ant.d/jsch
|
||||
echo "xz-java ant/ant-xz" > %{buildroot}%{_sysconfdir}/ant.d/xz
|
||||
echo "testutil ant/ant-testutil" > %{buildroot}%{_sysconfdir}/ant.d/testutil
|
||||
%endif
|
||||
|
||||
@ -578,9 +605,8 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
|
||||
%if %{with bootstrap}
|
||||
pushd %{buildroot}%{_javadir}
|
||||
mkdir -p ant
|
||||
for i in ant*.jar; do
|
||||
ln -sf ../${i} ant/${i}
|
||||
for i in ant-bootstrap ant-launcher ant; do
|
||||
ln -sf ant/${i}.jar ${i}.jar
|
||||
done
|
||||
popd
|
||||
|
||||
@ -590,10 +616,9 @@ popd
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%attr(0755,root,root) %{_bindir}/ant
|
||||
%attr(0755,root,root) %{_bindir}/antRun
|
||||
%{_javadir}/%{name}/%{name}.jar
|
||||
%{_javadir}/%{name}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}.jar
|
||||
%{_javadir}/%{name}-launcher.jar
|
||||
%{_javadir}/%{name}-bootstrap.jar
|
||||
%{_javadir}/%{name}/%{name}-bootstrap.jar
|
||||
%dir %{_javadir}/%{name}
|
||||
%dir %{ant_home}
|
||||
%dir %{ant_home}%{_sysconfdir}
|
||||
@ -616,20 +641,9 @@ popd
|
||||
%endif
|
||||
|
||||
%if %{with antlr}
|
||||
%files
|
||||
%{_javadir}/ant/ant-antlr.jar
|
||||
%files -f .mfiles
|
||||
%{ant_home}/lib/ant-antlr.jar
|
||||
%{_javadir}/ant/ant-xz.jar
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/antlr
|
||||
%{_mavenpomdir}/JPP.ant-ant-antlr.pom
|
||||
%{_mavenpomdir}/JPP.ant-ant-xz.pom
|
||||
%if %{defined _maven_repository}
|
||||
%config(noreplace) %{_mavendepmapfragdir}/ant-antlr
|
||||
%else
|
||||
%{_datadir}/maven-metadata/ant-antlr.xml
|
||||
%endif
|
||||
%dir %{_mavenpomdir}
|
||||
%endif
|
||||
|
||||
%if %{with junit}
|
||||
@ -664,99 +678,68 @@ popd
|
||||
%endif #if bootstrap
|
||||
|
||||
%if %{with antlr}
|
||||
%files -n ant-apache-bsf
|
||||
%{_javadir}/ant/ant-apache-bsf.jar
|
||||
%files -n ant-apache-bsf -f .mfiles-ant-apache-bsf
|
||||
%{ant_home}/lib/ant-apache-bsf.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bsf
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bsf.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-resolver
|
||||
%{_javadir}/ant/ant-apache-resolver.jar
|
||||
%files -n ant-apache-resolver -f .mfiles-ant-apache-resolver
|
||||
%{ant_home}/lib/ant-apache-resolver.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-resolver
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-resolver.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-logging
|
||||
%{_javadir}/ant/ant-commons-logging.jar
|
||||
%files -n ant-commons-logging -f .mfiles-ant-commons-logging
|
||||
%{ant_home}/lib/ant-commons-logging.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-logging
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-logging.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-commons-net
|
||||
%{_javadir}/ant/ant-commons-net.jar
|
||||
%files -n ant-commons-net -f .mfiles-ant-commons-net
|
||||
%{ant_home}/lib/ant-commons-net.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/commons-net
|
||||
%{_mavenpomdir}/JPP.ant-ant-commons-net.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-bcel
|
||||
%{_javadir}/ant/ant-apache-bcel.jar
|
||||
%files -n ant-apache-bcel -f .mfiles-ant-apache-bcel
|
||||
%{ant_home}/lib/ant-apache-bcel.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-bcel
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-bcel.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-log4j
|
||||
%{_javadir}/ant/ant-apache-log4j.jar
|
||||
%files -n ant-apache-log4j -f .mfiles-ant-apache-log4j
|
||||
%{ant_home}/lib/ant-apache-log4j.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-log4j
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-log4j.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-oro
|
||||
%{_javadir}/ant/ant-apache-oro.jar
|
||||
%files -n ant-apache-oro -f .mfiles-ant-apache-oro
|
||||
%{ant_home}/lib/ant-apache-oro.jar
|
||||
%{ant_home}%{_sysconfdir}/maudit-frames.xsl
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-oro
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-oro.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-regexp
|
||||
%{_javadir}/ant/ant-apache-regexp.jar
|
||||
%files -n ant-apache-regexp -f .mfiles-ant-apache-regexp
|
||||
%{ant_home}/lib/ant-apache-regexp.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-regexp
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-regexp.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-apache-xalan2
|
||||
%{_javadir}/ant/ant-apache-xalan2.jar
|
||||
%files -n ant-apache-xalan2 -f .mfiles-ant-apache-xalan2
|
||||
%{ant_home}/lib/ant-apache-xalan2.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/apache-xalan2
|
||||
%{_mavenpomdir}/JPP.ant-ant-apache-xalan2.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-javamail
|
||||
%{_javadir}/ant/ant-javamail.jar
|
||||
%files -n ant-imageio -f .mfiles-ant-imageio
|
||||
%{ant_home}/lib/ant-imageio.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/imageio
|
||||
|
||||
%files -n ant-javamail -f .mfiles-ant-javamail
|
||||
%{ant_home}/lib/ant-javamail.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/javamail
|
||||
%{_mavenpomdir}/JPP.ant-ant-javamail.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jdepend
|
||||
%{_javadir}/ant/ant-jdepend.jar
|
||||
%files -n ant-jdepend -f .mfiles-ant-jdepend
|
||||
%{ant_home}/lib/ant-jdepend.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jdepend
|
||||
%{ant_home}%{_sysconfdir}/jdepend.xsl
|
||||
%{ant_home}%{_sysconfdir}/jdepend-frames.xsl
|
||||
%{_mavenpomdir}/JPP.ant-ant-jdepend.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-jsch
|
||||
%{_javadir}/ant/ant-jsch.jar
|
||||
%files -n ant-jsch -f .mfiles-ant-jsch
|
||||
%{ant_home}/lib/ant-jsch.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jsch
|
||||
%{_mavenpomdir}/JPP.ant-ant-jsch.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-testutil
|
||||
%{_javadir}/ant/ant-testutil.jar
|
||||
%files -n ant-xz -f .mfiles-ant-xz
|
||||
%{ant_home}/lib/ant-xz.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/xz
|
||||
|
||||
%files -n ant-testutil -f .mfiles-ant-testutil
|
||||
%{ant_home}/lib/ant-testutil.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/testutil
|
||||
%{_mavenpomdir}/JPP.ant-ant-testutil.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-manual
|
||||
%doc manual/*
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71a5cdd45a54901b6321d5a140d882f7580c38f766a4e4959bcc36555da9f3ac
|
||||
size 4465063
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHEEABECADEWIQTOgHWiUVR77iSbwVGiEVrhX2uLcgUCW0Q7MxMcYm9kZXdpZ0Bh
|
||||
cGFjaGUub3JnAAoJEKIRWuFfa4tyzhgAnjm93RxZse+OTsHXSA4m/txk26H2AKDR
|
||||
0ZiH+bMOnsqyf0QiKV6KJHHk/A==
|
||||
=CfJX
|
||||
-----END PGP SIGNATURE-----
|
3
apache-ant-1.10.7-src.tar.bz2
Normal file
3
apache-ant-1.10.7-src.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:39882eff327f4a056d77605f0a973d4f30d003083e54fa0885ddab6055b6c8de
|
||||
size 4530166
|
16
apache-ant-1.10.7-src.tar.bz2.asc
Normal file
16
apache-ant-1.10.7-src.tar.bz2.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCAAdFiEEjacMAN968bDS+dx03bzBJwop0IEFAl1rY3EACgkQ3bzBJwop
|
||||
0IF11g/9FL4Slu7usL4FA1biNcKxzj6Su/k+rf9EeJNy0j4pR62Uygevq4sfrSVi
|
||||
bShsHGKlMFQMMbS80OCk9TXp9Q0xL5yRAQlC9RZ13k4JcCxyCLg1hKsiBcOHRHSG
|
||||
rhfbkmWNj/a86JBazCu6R+uiAqC31LHN/5qrDFWCQ3bPFAIXHHVR7ZDl/L2etBlT
|
||||
9mTLh1NH0Dh2tFwX7r+DWkn5UfLFXt0Mx3HJBkFcbT72FT1/PMhG3jKxdKQFri04
|
||||
UEglwA5dVurcHaNt/WchO+5Bijyp5CYCnga5JV9iyIhVQrU4n8g90rqCZKgZ0Idy
|
||||
WMBJ5bOBlQ5gxuZRRFmx+qrZxuo+n6cyIvPgRZE8wWWYhC2eSEPy5xH0tZZJ1Yjl
|
||||
do+dRAkloEmxxEQi6ptohmU23Z6zX5IHYT3F1IC/7GQFxaB+EXuUiXLMteQ2Ydwn
|
||||
EwSvMPxO/tqAs4Eev2Cqpsq4ERXmKlJLIfZRbg+z7dpD8QrszBrXd4Q8mWHVE98c
|
||||
OhMCvcVWT9DqnppZx7wRCb5ku6ZuSgqJQpVJ8iCG9xs5TQBUwYzTjryF6HElyOa0
|
||||
xVvrXaQEKcZUIpLkhJ6z7OZH6xtft/OoIy8VhIaphkYjc5M2ogG1k8oxm0kNNiLj
|
||||
UkmpvJIImDxXX30M4A1DqmRHgHJCTaiJ1UDRy59tW21zFO1PGTQ=
|
||||
=J/gx
|
||||
-----END PGP SIGNATURE-----
|
@ -1,13 +1,11 @@
|
||||
Index: apache-ant-1.9.10/bootstrap.sh
|
||||
===================================================================
|
||||
--- apache-ant-1.9.10.orig/bootstrap.sh
|
||||
+++ apache-ant-1.9.10/bootstrap.sh
|
||||
@@ -129,7 +129,7 @@ mkdir -p bin
|
||||
--- apache-ant-1.10.7/bootstrap.sh 2019-09-01 08:14:10.000000000 +0200
|
||||
+++ apache-ant-1.10.7/bootstrap.sh 2019-10-12 12:34:23.892369973 +0200
|
||||
@@ -143,7 +143,7 @@
|
||||
echo ... Compiling Ant Classes with ${JAVAC_RELEASE_VERSION}
|
||||
fi
|
||||
|
||||
echo ... Compiling Ant Classes
|
||||
|
||||
-"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
|
||||
+"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} -sourcepath src/main ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
|
||||
-"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${JAVAC_RELEASE_VERSION} \
|
||||
+"${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} -sourcepath src/main ${JAVAC_RELEASE_VERSION} \
|
||||
${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java \
|
||||
${TOOLS}/ant/util/regexp/RegexpMatcher.java \
|
||||
${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java \
|
||||
${TOOLS}/ant/property/*.java \
|
||||
|
@ -1,17 +1,11 @@
|
||||
---
|
||||
build.xml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: apache-ant-1.9.10/build.xml
|
||||
===================================================================
|
||||
--- apache-ant-1.9.10.orig/build.xml
|
||||
+++ apache-ant-1.9.10/build.xml
|
||||
@@ -878,7 +878,7 @@
|
||||
--- apache-ant-1.10.7/build.xml 2019-09-01 08:14:10.000000000 +0200
|
||||
+++ apache-ant-1.10.7/build.xml 2019-10-12 12:30:11.014986025 +0200
|
||||
@@ -976,7 +976,7 @@
|
||||
Create the essential distribution that can run Apache Ant
|
||||
===================================================================
|
||||
-->
|
||||
- <target name="dist-lite" depends="jars,test-jar"
|
||||
+ <target name="dist-lite" depends="jars"
|
||||
- <target name="dist-lite" depends="jars,test-jar,-ant-dist-warn-jdk9+"
|
||||
+ <target name="dist-lite" depends="jars,-ant-dist-warn-jdk9+"
|
||||
description="--> creates a minimum distribution to run Apache Ant">
|
||||
|
||||
<mkdir dir="${dist.dir}"/>
|
||||
|
@ -5,7 +5,7 @@
|
||||
# variable
|
||||
if $rpm_mode && [ -x /usr/bin/build-classpath ]; then
|
||||
- LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-commons-apis)"
|
||||
+ LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-apis)"
|
||||
+ LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher)"
|
||||
|
||||
# If no optional jars have been specified then build the default list
|
||||
if [ -z "$OPT_JAR_LIST" ]; then
|
||||
|
@ -18,15 +18,15 @@ not relevant).
|
||||
--
|
||||
--- a/src/main/org/apache/tools/ant/taskdefs/Manifest.java
|
||||
+++ b/src/main/org/apache/tools/ant/taskdefs/Manifest.java
|
||||
@@ -816,10 +816,7 @@ public class Manifest {
|
||||
try {
|
||||
insr = new InputStreamReader(in, "UTF-8");
|
||||
Manifest defaultManifest = new Manifest(insr);
|
||||
- String version = System.getProperty("java.runtime.version");
|
||||
- if (version == null) {
|
||||
- version = System.getProperty("java.vm.version");
|
||||
- }
|
||||
+ String version = System.getProperty("java.version");
|
||||
Attribute createdBy = new Attribute("Created-By",
|
||||
version + " ("
|
||||
+ System.getProperty("java.vm.vendor") + ")");
|
||||
@@ -760,10 +760,7 @@
|
||||
defManifest);
|
||||
}
|
||||
Manifest defaultManifest = new Manifest(new InputStreamReader(in, JAR_CHARSET));
|
||||
- String version = System.getProperty("java.runtime.version");
|
||||
- if (version == null) {
|
||||
- version = System.getProperty("java.vm.version");
|
||||
- }
|
||||
+ String version = System.getProperty("java.version");
|
||||
Attribute createdBy = new Attribute("Created-By", version
|
||||
+ " (" + System.getProperty("java.vm.vendor") + ")");
|
||||
defaultManifest.getMainSection().storeAttribute(createdBy);
|
||||
|
Loading…
x
Reference in New Issue
Block a user