Fridrich Strba 2024-05-20 17:10:22 +00:00 committed by Git OBS Bridge
parent 1e8d63bef0
commit 40ba2c7e43
2 changed files with 21 additions and 4 deletions

View File

@ -49,14 +49,30 @@
debug="true"
optimize="false"
deprecation="true"
target="${compiler.target}"
release="${compiler.release}"
verbose="false"
fork="false"
source="${compiler.source}">
fork="false">
<src>
<pathelement location="${build.srcDir}"/>
</src>
</javac>
<javac destdir="${build.outputDir}"
encoding="${project.build.sourceEncoding}"
nowarn="false"
debug="true"
optimize="false"
deprecation="true"
release="9"
verbose="false"
fork="false">
<modulepath>
<pathelement location="${build.outputDir}"/>
</modulepath>
<src>
<pathelement location="."/>
</src>
<include name="**/module-info.java"/>
</javac>
</target>
<!-- ====================================================================== -->

View File

@ -16,6 +16,7 @@
#
%define __requires_exclude java-headless
%global short_name jcommander
Name: beust-%{short_name}
Version: 1.83
@ -31,7 +32,7 @@ Source2: %{name}-build.xml
Patch0: 0001-ParseValues-NullPointerException-patch.patch
BuildRequires: ant
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: java-devel >= 9
BuildRequires: javapackages-local >= 6
Requires: java >= 1.8
Obsoletes: %{short_name} < %{version}-%{release}