Don't use gcc-java

OBS-URL: https://build.opensuse.org/package/show/Java:packages/regexp?expand=0&rev=16
This commit is contained in:
Fridrich Strba 2017-10-03 10:49:22 +00:00 committed by Git OBS Bridge
parent 55770ae665
commit caab448751
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 3 10:48:19 UTC 2017 - fstrba@suse.com
- Don't depend on java-gcj-compat, since it is bound to go
- Specify java source and target level 1.6
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 19 11:22:28 UTC 2017 - dziolkowski@suse.com Fri May 19 11:22:28 UTC 2017 - dziolkowski@suse.com

View File

@ -30,7 +30,7 @@ Source0: http://www.apache.org/dist/jakarta/regexp/jakarta-regexp-%{versi
Source1: regexp-%{version}.pom Source1: regexp-%{version}.pom
BuildRequires: ant BuildRequires: ant
BuildRequires: ant >= 1.6 BuildRequires: ant >= 1.6
BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: java-devel
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: javapackages-tools BuildRequires: javapackages-tools
BuildRequires: xml-commons-apis-bootstrap BuildRequires: xml-commons-apis-bootstrap
@ -56,7 +56,7 @@ find . -type f -name "*.jar" | xargs -t rm
export OPT_JAR_LIST=: export OPT_JAR_LIST=:
export CLASSPATH= export CLASSPATH=
mkdir lib mkdir lib
ant -Djakarta-site2.dir=. jar ant -Djakarta-site2.dir=. -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 jar
%install %install
# jars # jars