Accepting request 962903 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/962903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jlex?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:02 +00:00 committed by Git OBS Bridge
commit 2149b64687
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 18 16:44:59 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build with source/target levels 8
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 3 11:03:47 UTC 2017 - fstrba@suse.com Tue Oct 3 11:03:47 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package jlex # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Summary: A Lexical Analyzer Generator for Java
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/Java 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 Source0: http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/1.2.5/Main.java
Source1: %{name}-%{version}.build.xml Source1: %{name}-%{version}.build.xml
Patch0: %{name}-%{version}.static.patch Patch0: %{name}-%{version}.static.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: java-devel BuildRequires: java-devel >= 1.8
BuildRequires: xml-commons-apis-bootstrap BuildRequires: xml-commons-apis-bootstrap
#!BuildIgnore: xerces-j2 #!BuildIgnore: xerces-j2
#!BuildIgnore: xml-commons #!BuildIgnore: xml-commons
@ -49,7 +49,7 @@ cp %{SOURCE1} build.xml
%build %build
unset CLASSPATH 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 %install
# jar # jar