From 2573beaa9418a2c88ede4548b4c2d1fbac4dd43b Mon Sep 17 00:00:00 2001 From: gil Date: Wed, 2 Apr 2014 13:38:02 +0200 Subject: [PATCH] try to fix java8 support --- jdom2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jdom2.spec b/jdom2.spec index ae35dae..bdf6b11 100644 --- a/jdom2.spec +++ b/jdom2.spec @@ -68,6 +68,8 @@ cp -p %{SOURCE2} maven/junit.pom sed -i 's/\r//' LICENSE.txt README.txt +sed -i "s|final void sort(final Comparator comp) {|public final void sort(final Comparator comp) {|" core/src/java/org/jdom2/ContentList.java + %build ant -Dversion=%{version} -Dj2se.apidoc=%{_javadocdir}/java maven