Accepting request 1170854 from Java:packages
This runs with java 8 just fine OBS-URL: https://build.opensuse.org/request/show/1170854 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/picocli?expand=0&rev=9
This commit is contained in:
commit
319c3dd5f7
@ -11,7 +11,8 @@
|
|||||||
<property name="project.artifactId" value="picocli"/>
|
<property name="project.artifactId" value="picocli"/>
|
||||||
<property name="project.version" value="[UNKNOWN]"/>
|
<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="compiler.target" value="${compiler.source}"/>
|
||||||
|
|
||||||
<property name="build.dir" value="target"/>
|
<property name="build.dir" value="target"/>
|
||||||
@ -43,6 +44,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -75,6 +77,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -114,6 +117,7 @@
|
|||||||
debug="true"
|
debug="true"
|
||||||
optimize="false"
|
optimize="false"
|
||||||
deprecation="true"
|
deprecation="true"
|
||||||
|
release="${compiler.release}"
|
||||||
target="${compiler.target}"
|
target="${compiler.target}"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
fork="false"
|
fork="false"
|
||||||
@ -154,8 +158,7 @@
|
|||||||
<!-- ====================================================================== -->
|
<!-- ====================================================================== -->
|
||||||
|
|
||||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||||
<javadoc
|
<javadoc packagenames="*"
|
||||||
packagenames="*"
|
|
||||||
destdir="${reporting.outputDirectory}/apidocs"
|
destdir="${reporting.outputDirectory}/apidocs"
|
||||||
access="protected"
|
access="protected"
|
||||||
verbose="false"
|
verbose="false"
|
||||||
@ -174,14 +177,15 @@
|
|||||||
charset="UTF-8"
|
charset="UTF-8"
|
||||||
linksource="false"
|
linksource="false"
|
||||||
breakiterator="false"
|
breakiterator="false"
|
||||||
source="${compiler.source}"
|
source="${compiler.source}">
|
||||||
>
|
|
||||||
<sourcepath>
|
<sourcepath>
|
||||||
<pathelement location="${build.srcDir}"/>
|
<pathelement location="${build.srcDir}"/>
|
||||||
<pathelement location="picocli-codegen/${build.srcDir}"/>
|
<pathelement location="picocli-codegen/${build.srcDir}"/>
|
||||||
|
<pathelement location="picocli-shell-jline2/${build.srcDir}"/>
|
||||||
</sourcepath>
|
</sourcepath>
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${build.outputDir}"/>
|
<pathelement location="${build.outputDir}"/>
|
||||||
|
<pathelement location="${jline2.jar}"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
</javadoc>
|
</javadoc>
|
||||||
</target>
|
</target>
|
||||||
|
@ -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>
|
Sun Sep 10 10:27:31 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package picocli
|
# 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
|
# 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
|
||||||
@ -16,6 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# The automatic requires would be java-headless >= 9, but the
|
||||||
|
# binaries are java 8 compatible
|
||||||
|
%define __requires_exclude java-headless
|
||||||
Name: picocli
|
Name: picocli
|
||||||
Version: 4.7.5
|
Version: 4.7.5
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -34,6 +37,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: java-devel >= 9
|
BuildRequires: java-devel >= 9
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: jline >= 2
|
BuildRequires: jline >= 2
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -44,6 +48,7 @@ Easily included as source to avoid adding a dependency.
|
|||||||
%package codegen
|
%package codegen
|
||||||
Summary: Picocli Code Generation
|
Summary: Picocli Code Generation
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
|
|
||||||
%description codegen
|
%description codegen
|
||||||
Java command line parser with both an annotations API and a programmatic API.
|
Java command line parser with both an annotations API and a programmatic API.
|
||||||
@ -56,6 +61,7 @@ from a picocli model.
|
|||||||
%package shell-jline2
|
%package shell-jline2
|
||||||
Summary: Picocli Shell JLine2
|
Summary: Picocli Shell JLine2
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
|
Requires: java-headless >= 1.8
|
||||||
|
|
||||||
%description shell-jline2
|
%description shell-jline2
|
||||||
Java command line parser with both an annotations API and a programmatic API.
|
Java command line parser with both an annotations API and a programmatic API.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user