From 65751fc55aa5286eac3ec599ad0f592871195cd894a84a47fa83d8602c13f492 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 17 May 2018 20:04:12 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlex?expand=0&rev=9 --- jlex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlex.spec b/jlex.spec index e5f50f2..1f2687f 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) 2018 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 From c29027f4502f25386b02bc2468bd0fd63a88e5c5294baf59c8c045e16cf12629 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 7 Feb 2019 08:04:26 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/jlex?expand=0&rev=10 --- jlex.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlex.spec b/jlex.spec index 1f2687f..e5f50f2 100644 --- a/jlex.spec +++ b/jlex.spec @@ -1,7 +1,7 @@ # # spec file for package jlex # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 From c77c1f55ba2010d0b2e2f0ff17316fa3ad3ad147e2c3a1ea2cb5de43356c32d8 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Fri, 18 Mar 2022 16:45:13 +0000 Subject: [PATCH 3/3] 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