diff --git a/xpp3-sourcetarget.patch b/xpp3-sourcetarget.patch new file mode 100644 index 0000000..f6cf93d --- /dev/null +++ b/xpp3-sourcetarget.patch @@ -0,0 +1,140 @@ +--- xpp3-1.1.4c/build.xml 2006-11-11 02:41:08.000000000 +0100 ++++ xpp3-1.1.4c/build.xml 2017-09-11 18:57:52.820569880 +0200 +@@ -220,20 +220,20 @@ + + + +- + + + + + +- + + + + +- + + +@@ -249,12 +249,12 @@ + + + +- + + + +- + + +@@ -267,20 +267,20 @@ + + + +- + + + + +- + + + +- +- + + +@@ -298,7 +298,7 @@ + + + +- + + +@@ -312,7 +312,7 @@ + + + +- + + +@@ -328,7 +328,7 @@ + + + +- + + +@@ -344,7 +344,7 @@ + + + +- + + +@@ -358,7 +358,7 @@ + + + +- + + +@@ -389,7 +389,7 @@ + + + +- + + +@@ -424,7 +424,7 @@ + + +- +@@ -433,8 +433,8 @@ + + +- + + diff --git a/xpp3.changes b/xpp3.changes index b1f658a..50a96c4 100644 --- a/xpp3.changes +++ b/xpp3.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Sep 11 16:58:24 UTC 2017 - fstrba@suse.com + +- Added patch: + * xpp3-sourcetarget.patch + + Specify java soirce and target level 1.6 in order to allow + building with jdk9 + + Specify encoding ISO-8859-1 for files with non-ASCII + characters + ------------------------------------------------------------------- Fri May 19 16:26:28 UTC 2017 - tchvatal@suse.com diff --git a/xpp3.spec b/xpp3.spec index f837b7b..79f7030 100644 --- a/xpp3.spec +++ b/xpp3.spec @@ -24,6 +24,7 @@ License: Apache-1.1 Group: Development/Libraries/Java Url: http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html Source0: http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{version}_src.tgz +Patch0: xpp3-sourcetarget.patch BuildRequires: ant >= 1.6 BuildRequires: javapackages-tools BuildRequires: junit @@ -61,6 +62,7 @@ Hotspot in JDK 1.4. %prep %setup -q +%patch0 -p1 # remove all binary libs find . -name "*.jar" -exec rm -f {} \; # "src/java/addons_tests" does not exist