From c77c1f55ba2010d0b2e2f0ff17316fa3ad3ad147e2c3a1ea2cb5de43356c32d8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 18 Mar 2022 16:45:13 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlex?expand=0&rev=11 --- jlex.changes | 5 +++++ jlex.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/jlex.changes b/jlex.changes index ea17a3c..b567fad 100644 --- a/jlex.changes +++ b/jlex.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 18 16:44:59 UTC 2022 - Fridrich Strba + +- Build with source/target levels 8 + ------------------------------------------------------------------- Tue Oct 3 11:03:47 UTC 2017 - fstrba@suse.com diff --git a/jlex.spec b/jlex.spec index e5f50f2..e3334aa 100644 --- a/jlex.spec +++ b/jlex.spec @@ -1,7 +1,7 @@ # # spec file for package jlex # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,12 +23,12 @@ Release: 0 Summary: A Lexical Analyzer Generator for Java License: BSD-3-Clause Group: Development/Libraries/Java -Url: http://www.cs.princeton.edu/~appel/modern/java/JLex/ +URL: http://www.cs.princeton.edu/~appel/modern/java/JLex/ Source0: http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.5/Main.java Source1: %{name}-%{version}.build.xml Patch0: %{name}-%{version}.static.patch BuildRequires: ant -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 BuildRequires: xml-commons-apis-bootstrap #!BuildIgnore: xerces-j2 #!BuildIgnore: xml-commons @@ -49,7 +49,7 @@ cp %{SOURCE1} build.xml %build unset CLASSPATH -ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 +ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 %install # jar