SHA256
1
0
forked from pool/axis

Accepting request 526215 from Java:packages

classpath is provided by java-1_5_0-gcj-compat-devel

OBS-URL: https://build.opensuse.org/request/show/526215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/axis?expand=0&rev=28
This commit is contained in:
Dominique Leuenberger 2017-09-17 20:36:43 +00:00 committed by Git OBS Bridge
commit acf369c6d0
2 changed files with 16 additions and 13 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Sep 14 14:22:43 UTC 2017 - fstrba@suse.com
- BuildRequires: java-devel >= 1.6
- BuildConflicts: java-devel >= 1.9
* Allow building with wider range of java compilers
- Clean spec file
-------------------------------------------------------------------
Sun Sep 10 06:41:34 UTC 2017 - fstrba@suse.com

View File

@ -14,7 +14,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# icecream 0
Name: axis
@ -50,12 +49,10 @@ BuildRequires: ant-jdepend
BuildRequires: antlr
BuildRequires: apache-commons-httpclient
BuildRequires: apache-commons-logging
BuildRequires: classpath
BuildRequires: classpathx-mail
BuildRequires: gnu-jaf
BuildRequires: jakarta-commons-discovery
# JDK8 is the last one that is able to build with source and target levels 1.3
BuildRequires: java-devel = 1.8.0
BuildRequires: java-devel >= 1.6
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: junit
@ -75,7 +72,7 @@ Requires: log4j
Requires: wsdl4j
Obsoletes: %{name}-javadoc
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildConflicts: java-devel >= 1.9
%description
Apache Axis is an implementation of the SOAP ("Simple Object Access
@ -93,7 +90,7 @@ Manual for axis
%patch0 -p1
%patch1 -p1 -b gcc44-build
%patch2 -p0
%patch2
%patch3 -p1
# Remove provided binaries
@ -135,20 +132,19 @@ pushd build/lib
popd
# POMs
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
install -m 644 %{S:4} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-axis.pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/JPP.%{name}-axis.pom
%add_maven_depmap JPP.%{name}-axis.pom %{name}/axis.jar
install -m 644 %{S:5} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-axis-ant.pom
install -m 644 %{SOURCE5} %{buildroot}%{_mavenpomdir}/JPP.%{name}-axis-ant.pom
%add_maven_depmap JPP.%{name}-axis-ant.pom %{name}/axis-ant.jar
install -m 644 %{S:6} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-jaxrpc.pom
install -m 644 %{SOURCE6} %{buildroot}%{_mavenpomdir}/JPP.%{name}-jaxrpc.pom
%add_maven_depmap JPP.%{name}-jaxrpc.pom %{name}/jaxrpc.jar
install -m 644 %{S:7} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-saaj.pom
install -m 644 %{SOURCE7} %{buildroot}%{_mavenpomdir}/JPP.%{name}-saaj.pom
%add_maven_depmap JPP.%{name}-saaj.pom %{name}/saaj.jar
#install -m 644 %{S:8} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-axis-schema.pom
# % add_maven_depmap JPP.%{name}-axis-schema.pom %{name}/axis-schema.jar
%files
%defattr(0644,root,root,0755)
%doc LICENSE README release-notes.html changelog.html
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/*.jar
@ -156,7 +152,6 @@ install -m 644 %{S:7} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{name}-saaj.pom
%{_datadir}/maven-metadata/%{name}.xml
%files manual
%defattr(0644,root,root,0755)
%doc docs/*
%changelog