This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user