SHA256
1
0
forked from pool/jflex

Accepting request 965941 from Java:packages

Standalone JavaEE inconditionally

OBS-URL: https://build.opensuse.org/request/show/965941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jflex?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2022-04-02 16:19:59 +00:00 committed by Git OBS Bridge
commit f964cf2cf8
4 changed files with 12 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 30 10:16:51 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build against the standalone JavaEE modules inconditionally
-------------------------------------------------------------------
Thu Mar 17 15:42:32 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -31,9 +31,7 @@ Source1: jflex-%{version}-generated-files.tar.xz
Source2: jflex-build.xml
Patch0: jflex-1.8.2-no-auto-value.patch
BuildRequires: ant
%if 0%{?suse_version} > 1500
BuildRequires: glassfish-annotation-api
%endif
BuildRequires: java-devel
BuildRequires: javapackages-local
Requires: java_cup
@ -99,10 +97,7 @@ rm -rf src/generated
cp %{SOURCE2} build.xml
mkdir -p lib
%patch0 -p1
build-jar-repository -s lib java-cup-runtime
%if 0%{?suse_version} > 1500
build-jar-repository -s lib glassfish-annotation-api
%endif
build-jar-repository -s lib java-cup-runtime glassfish-annotation-api
%else
%{mvn_file} : %{name} JFlex
%endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 30 10:16:51 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Build against the standalone JavaEE modules inconditionally
-------------------------------------------------------------------
Thu Mar 17 15:42:32 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -30,9 +30,7 @@ Source1: jflex-%{version}-generated-files.tar.xz
Source2: jflex-build.xml
Patch0: jflex-1.8.2-no-auto-value.patch
BuildRequires: ant
%if 0%{?suse_version} > 1500
BuildRequires: glassfish-annotation-api
%endif
BuildRequires: java-devel
BuildRequires: javapackages-local
Requires: java_cup
@ -98,10 +96,7 @@ rm -rf src/generated
cp %{SOURCE2} build.xml
mkdir -p lib
%patch0 -p1
build-jar-repository -s lib java-cup-runtime
%if 0%{?suse_version} > 1500
build-jar-repository -s lib glassfish-annotation-api
%endif
build-jar-repository -s lib java-cup-runtime glassfish-annotation-api
%else
%{mvn_file} : %{name} JFlex
%endif