Accepting request 963169 from Java:packages
Build with source/target levels 8 OBS-URL: https://build.opensuse.org/request/show/963169 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trilead-ssh2?expand=0&rev=2
This commit is contained in:
commit
d81d2cccf6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 16:41:59 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 16 08:15:30 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
Tue Apr 16 08:15:30 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package trilead-ssh2
|
# spec file for package trilead-ssh2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 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
|
||||||
@ -27,7 +27,7 @@ Group: Development/Libraries/Java
|
|||||||
URL: https://github.com/jenkinsci/trilead-ssh2
|
URL: https://github.com/jenkinsci/trilead-ssh2
|
||||||
Source0: https://github.com/jenkinsci/%{name}/archive/%{name}-build%{buildver}-jenkins-%{patchlvl}.tar.gz
|
Source0: https://github.com/jenkinsci/%{name}/archive/%{name}-build%{buildver}-jenkins-%{patchlvl}.tar.gz
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -51,10 +51,10 @@ API documentation for %{name}.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p build/classes
|
mkdir -p build/classes
|
||||||
javac -d build/classes -source 6 -target 6 $(find src -name \*.java | xargs)
|
javac -d build/classes -source 8 -target 8 $(find src -name \*.java | xargs)
|
||||||
(cd build/classes && jar cf ../%{name}-%{version}.jar $(find . -name \*.class))
|
(cd build/classes && jar cf ../%{name}-%{version}.jar $(find . -name \*.class))
|
||||||
mkdir -p build/docs
|
mkdir -p build/docs
|
||||||
javadoc -d build/docs -source 6 $(find src -name \*.java | xargs)
|
javadoc -d build/docs -source 8 $(find src -name \*.java | xargs)
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# jars
|
# jars
|
||||||
|
Loading…
Reference in New Issue
Block a user