- Fix build with new javapackages-tools
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-collections?expand=0&rev=17
This commit is contained in:
parent
bd718e5aa9
commit
78880da225
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 08:49:50 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Fix build with new javapackages-tools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 18:24:36 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package apache-commons-collections
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -37,6 +37,7 @@ BuildRequires: ant
|
||||
BuildRequires: ant-junit
|
||||
BuildRequires: apache-commons-parent
|
||||
BuildRequires: java-devel
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: junit
|
||||
Provides: %{short_name} = %{version}-%{release}
|
||||
@ -103,12 +104,6 @@ cp -p %{SOURCE1} pom-testframework.xml
|
||||
sed -i 's/@VERSION@/%{version}/' pom-testframework.xml
|
||||
|
||||
%build
|
||||
#FIXME: the test fails on x390!
|
||||
#java: pthread_mutex_lock.c:71: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
|
||||
#ant -Djava.io.tmpdir=. test dist tf.javadoc
|
||||
#FIXME: the test fails on ppc with openjdk b11
|
||||
# See bnc#441085
|
||||
#ant -Djava.io.tmpdir=. dist tf.javadoc
|
||||
export CLASSPATH=$(build-classpath junit)
|
||||
ant \
|
||||
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
|
||||
@ -148,7 +143,11 @@ cp -pr build/docs/testframework/* %{buildroot}%{_javadocdir}/%{name}-testframewo
|
||||
%{_javadir}/%{name}-testframework.jar
|
||||
%{_javadir}/%{short_name}-testframework.jar
|
||||
%{_mavenpomdir}/JPP-%{short_name}-testframework.pom
|
||||
%if %{?suse_version} > 1320
|
||||
%{_datadir}/maven-metadata/%{name}-testframework.xml
|
||||
%else
|
||||
%config(noreplace) %{_mavendepmapfragdir}/%{name}-testframework
|
||||
%endif
|
||||
|
||||
%files javadoc
|
||||
%defattr(0644,root,root,0755)
|
||||
|
Loading…
Reference in New Issue
Block a user