Accepting request 642712 from home:fstrba:branches:Java:packages
OBS-URL: https://build.opensuse.org/request/show/642712 OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=117
This commit is contained in:
33
ant.spec
33
ant.spec
@@ -13,7 +13,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ Patch6: reproducible-build-date.patch
|
||||
Patch7: ant-python3.patch
|
||||
BuildRequires: antlr-bootstrap
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xml-commons-apis-bootstrap
|
||||
@@ -450,17 +451,15 @@ do
|
||||
[ $jarname == ant-bootstrap ] && continue
|
||||
|
||||
#install pom
|
||||
%if !%{with bootstrap}
|
||||
install -m 644 src%{_sysconfdir}/poms/${jarname}/pom.xml %{buildroot}/%{_mavenpomdir}/${pomname}
|
||||
echo %%add_maven_depmap "${pomname}" "${destname}${jarname}.jar"
|
||||
%add_maven_depmap ${pomname} ${destname}${jarname}.jar
|
||||
%endif
|
||||
done
|
||||
|
||||
%if %{with bootstrap}
|
||||
#ant-parent pom
|
||||
#install -m 644 src/etc/poms/pom.xml %{buildroot}/%{_mavenpomdir}/JPP-ant-parent.pom
|
||||
#%add_maven_depmap JPP-ant-parent.pom
|
||||
install -m 644 src/etc/poms/pom.xml %{buildroot}/%{_mavenpomdir}/JPP-ant-parent.pom
|
||||
%add_maven_depmap JPP-ant-parent.pom
|
||||
|
||||
# scripts: remove dos and os/2 scripts
|
||||
rm -f src/script/*.bat
|
||||
@@ -562,15 +561,15 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
%{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}
|
||||
%{_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
|
||||
|
||||
@@ -611,14 +610,14 @@ rm -rf %{buildroot}%{_bindir}/ant.orig
|
||||
%{_javadir}/ant/ant-jmf.jar
|
||||
%{ant_home}/lib/ant-jmf.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/jmf
|
||||
#%{_mavenpomdir}/JPP.ant-ant-jmf.pom
|
||||
%{_mavenpomdir}/JPP.ant-ant-jmf.pom
|
||||
|
||||
%files -n ant-swing
|
||||
%{_javadir}/ant/ant-swing.jar
|
||||
%{ant_home}/lib/ant-swing.jar
|
||||
%config(noreplace) %{_sysconfdir}/ant.d/swing
|
||||
#%{_mavenpomdir}/JPP.ant-ant-swing.pom
|
||||
#%dir %{_mavenpomdir}
|
||||
%{_mavenpomdir}/JPP.ant-ant-swing.pom
|
||||
%dir %{_mavenpomdir}
|
||||
|
||||
%files -n ant-scripts
|
||||
%defattr(0755,root,root,0755)
|
||||
|
Reference in New Issue
Block a user