This commit is contained in:
parent
61c1cc6f1b
commit
174a61e588
@ -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>
|
||||
|
@ -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
10
ant-bootstrap.pom.in
Normal 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>
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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>
|
||||
|
7
ant.spec
7
ant.spec
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user