diff --git a/bcel.changes b/bcel.changes index 084d772..4aa73cc 100644 --- a/bcel.changes +++ b/bcel.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Thu Jan 5 15:28:49 UTC 2017 - tchvatal@suse.com - -- Build with java-devel and not gcj as it is getting deprecated -- Add patch to build with new javac: - * build-encoding.patch - ------------------------------------------------------------------- Wed Mar 25 09:22:33 UTC 2015 - tchvatal@suse.com diff --git a/bcel.spec b/bcel.spec index 413c91f..f2af3ac 100644 --- a/bcel.spec +++ b/bcel.spec @@ -1,7 +1,7 @@ # # spec file for package bcel # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -26,10 +26,8 @@ Url: http://commons.apache.org/proper/commons-bcel/ Source0: http://www.apache.org/dist/commons/bcel/source/%{name}-%{version}-src.tar.gz Source1: http://www.apache.org/dist/commons/bcel/source/%{name}-%{version}-src.tar.gz.asc Source2: bcel.keyring -# set encoding for javac as otherwise it gets interpreted as utf8 and fail -Patch0: build-encoding.patch BuildRequires: ant -BuildRequires: java-devel +BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: regexp #BuildRequires: xerces-j2-bootstrap #!BuildIgnore: xml-commons-apis xml-commons-resolver xml-commons xerces-j2 @@ -71,7 +69,6 @@ find . -name "*.jar" -exec rm -f {} \; # very broken build perl -p -i -e 's| depends=\"examples\"||g;' build.xml touch manifest.txt -%patch0 -p1 %build export CLASSPATH=%(build-classpath regexp) diff --git a/build-encoding.patch b/build-encoding.patch deleted file mode 100644 index 6b7adf6..0000000 --- a/build-encoding.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: bcel-5.2/build.xml -=================================================================== ---- bcel-5.2.orig/build.xml -+++ bcel-5.2/build.xml -@@ -39,7 +39,7 @@ - - - -- -+ - - - -@@ -121,4 +121,4 @@ - - - -- -\ No newline at end of file -+