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" debug="true"
optimize="false" optimize="false"
deprecation="true" deprecation="true"
target="${compiler.target}" release="${compiler.release}"
verbose="false" verbose="false"
fork="false" fork="false">
source="${compiler.source}">
<src> <src>
<pathelement location="${build.srcDir}"/> <pathelement location="${build.srcDir}"/>
</src> </src>
</javac> </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> </target>
<!-- ====================================================================== --> <!-- ====================================================================== -->

View File

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