- Build with java not gcj as it gets deprecated

OBS-URL: https://build.opensuse.org/package/show/Java:packages/rhino?expand=0&rev=26
This commit is contained in:
Tomáš Chvátal 2017-01-05 16:23:46 +00:00 committed by Git OBS Bridge
parent faee355fa3
commit 5e9360694f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 5 16:23:24 UTC 2017 - tchvatal@suse.com
- Build with java not gcj as it gets deprecated
-------------------------------------------------------------------
Wed Mar 18 09:46:19 UTC 2015 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package rhino
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2009, JPackage Project
# All rights reserved.
#
@ -54,7 +54,7 @@ Patch100: rhino-1.7-gcj.patch
BuildRequires: ant
BuildRequires: bea-stax-api
BuildRequires: java-1_5_0-gcj-compat-devel
BuildRequires: java-devel
BuildRequires: javapackages-tools
BuildRequires: jline
#BuildRequires: xerces-j2-bootstrap
@ -118,7 +118,7 @@ export OPT_JAR_LIST=:
pushd examples
export CLASSPATH=../build/%{name}%{cvs_version}/js.jar:$(build-classpath xmlbeans/xbean 2>/dev/null)
javac -C *.java
javac *.java
jar cvf ../build/%{name}%{cvs_version}/%{name}-examples.jar *.class
popd