Fridrich Strba 2024-04-29 11:54:36 +00:00 committed by Git OBS Bridge
parent 118133ebf5
commit 37b01ad042
3 changed files with 19 additions and 6 deletions

View File

@ -11,7 +11,8 @@
<property name="project.artifactId" value="picocli"/>
<property name="project.version" value="[UNKNOWN]"/>
<property name="compiler.source" value="8"/>
<property name="compiler.release" value="8"/>
<property name="compiler.source" value="1.${compiler.release}"/>
<property name="compiler.target" value="${compiler.source}"/>
<property name="build.dir" value="target"/>
@ -43,6 +44,7 @@
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
@ -75,6 +77,7 @@
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
@ -114,6 +117,7 @@
debug="true"
optimize="false"
deprecation="true"
release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
@ -154,8 +158,7 @@
<!-- ====================================================================== -->
<target name="javadoc" description="Generates the Javadoc of the application">
<javadoc
packagenames="*"
<javadoc packagenames="*"
destdir="${reporting.outputDirectory}/apidocs"
access="protected"
verbose="false"
@ -174,14 +177,15 @@
charset="UTF-8"
linksource="false"
breakiterator="false"
source="${compiler.source}"
>
source="${compiler.source}">
<sourcepath>
<pathelement location="${build.srcDir}"/>
<pathelement location="picocli-codegen/${build.srcDir}"/>
<pathelement location="picocli-shell-jline2/${build.srcDir}"/>
</sourcepath>
<classpath>
<pathelement location="${build.outputDir}"/>
<pathelement location="${jline2.jar}"/>
</classpath>
</javadoc>
</target>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 29 11:53:54 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- The binaries are compatible with java 1.8
-------------------------------------------------------------------
Sun Sep 10 10:27:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package picocli
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -34,6 +34,10 @@ BuildRequires: fdupes
BuildRequires: java-devel >= 9
BuildRequires: javapackages-local
BuildRequires: jline >= 2
# The automatic requires would be java-headless >= 9, but the
# binaries are java 8 compatible
%define __requires_exclude java-headless
Requires: java-headless >= 1.8
BuildArch: noarch
%description