Fridrich Strba 2019-02-08 10:20:14 +00:00 committed by Git OBS Bridge
parent 61c1cc6f1b
commit 174a61e588
9 changed files with 38 additions and 4 deletions

View File

@ -3,6 +3,7 @@ Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Create an ant-junit5 package to build junit5 optional tasks
when they become resolved
- Add a simple pom file for ant-bootstrap.jar
-------------------------------------------------------------------
Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -33,6 +33,7 @@ Group: Development/Tools/Building
URL: http://ant.apache.org/
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
Source1: apache-ant-1.8.ant.conf
Source10: ant-bootstrap.pom.in
Source1000: pre_checkin.sh
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
Source1002: ant.keyring
@ -66,6 +67,7 @@ BuildRequires: junit
BuildRequires: xerces-j2
%endif
%if %{with junit5}
BuildRequires: apiguardian
BuildRequires: junit5
%endif
%if 0%{?suse_version} > 1320
@ -475,7 +477,10 @@ do
ln -sf ../../java/${destname}${jarname}.jar %{buildroot}%{ant_home}/lib/${jarname}.jar
#bootstrap does not have a pom
[ $jarname == ant-bootstrap ] && continue
if [ $jarname == ant-bootstrap ]; then
mkdir -p src/etc/poms/${jarname}
sed -e "s#@VERSION@#%{version}#g" < %{SOURCE10} > src/etc/poms/${jarname}/pom.xml
fi
#install pom
install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}

10
ant-bootstrap.pom.in Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<url>http://ant.apache.org/</url>
<groupId>org.apache.ant</groupId>
<artifactId>ant-bootstrap</artifactId>
<version>@VERSION@</version>
</project>

View File

@ -3,6 +3,7 @@ Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Create an ant-junit5 package to build junit5 optional tasks
when they become resolved
- Add a simple pom file for ant-bootstrap.jar
-------------------------------------------------------------------
Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -33,6 +33,7 @@ Group: Development/Tools/Building
URL: http://ant.apache.org/
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
Source1: apache-ant-1.8.ant.conf
Source10: ant-bootstrap.pom.in
Source1000: pre_checkin.sh
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
Source1002: ant.keyring
@ -66,6 +67,7 @@ BuildRequires: junit
BuildRequires: xerces-j2
%endif
%if %{with junit5}
BuildRequires: apiguardian
BuildRequires: junit5
%endif
%if 0%{?suse_version} > 1320
@ -475,7 +477,10 @@ do
ln -sf ../../java/${destname}${jarname}.jar %{buildroot}%{ant_home}/lib/${jarname}.jar
#bootstrap does not have a pom
[ $jarname == ant-bootstrap ] && continue
if [ $jarname == ant-bootstrap ]; then
mkdir -p src/etc/poms/${jarname}
sed -e "s#@VERSION@#%{version}#g" < %{SOURCE10} > src/etc/poms/${jarname}/pom.xml
fi
#install pom
install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}

View File

@ -3,6 +3,7 @@ Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Create an ant-junit5 package to build junit5 optional tasks
when they become resolved
- Add a simple pom file for ant-bootstrap.jar
-------------------------------------------------------------------
Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -33,6 +33,7 @@ Group: Development/Tools/Building
URL: http://ant.apache.org/
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
Source1: apache-ant-1.8.ant.conf
Source10: ant-bootstrap.pom.in
Source1000: pre_checkin.sh
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
Source1002: ant.keyring
@ -66,6 +67,7 @@ BuildRequires: junit
BuildRequires: xerces-j2
%endif
%if %{with junit5}
BuildRequires: apiguardian
BuildRequires: junit5
%endif
%if 0%{?suse_version} > 1320
@ -475,7 +477,10 @@ do
ln -sf ../../java/${destname}${jarname}.jar %{buildroot}%{ant_home}/lib/${jarname}.jar
#bootstrap does not have a pom
[ $jarname == ant-bootstrap ] && continue
if [ $jarname == ant-bootstrap ]; then
mkdir -p src/etc/poms/${jarname}
sed -e "s#@VERSION@#%{version}#g" < %{SOURCE10} > src/etc/poms/${jarname}/pom.xml
fi
#install pom
install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}

View File

@ -3,6 +3,7 @@ Fri Feb 8 08:51:41 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Create an ant-junit5 package to build junit5 optional tasks
when they become resolved
- Add a simple pom file for ant-bootstrap.jar
-------------------------------------------------------------------
Fri Feb 8 07:26:44 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -32,6 +32,7 @@ Group: Development/Tools/Building
URL: http://ant.apache.org/
Source0: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
Source1: apache-ant-1.8.ant.conf
Source10: ant-bootstrap.pom.in
Source1000: pre_checkin.sh
Source1001: http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2.asc
Source1002: ant.keyring
@ -65,6 +66,7 @@ BuildRequires: junit
BuildRequires: xerces-j2
%endif
%if %{with junit5}
BuildRequires: apiguardian
BuildRequires: junit5
%endif
%if 0%{?suse_version} > 1320
@ -474,7 +476,10 @@ do
ln -sf ../../java/${destname}${jarname}.jar %{buildroot}%{ant_home}/lib/${jarname}.jar
#bootstrap does not have a pom
[ $jarname == ant-bootstrap ] && continue
if [ $jarname == ant-bootstrap ]; then
mkdir -p src/etc/poms/${jarname}
sed -e "s#@VERSION@#%{version}#g" < %{SOURCE10} > src/etc/poms/${jarname}/pom.xml
fi
#install pom
install -m 644 src/etc/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}