SHA256
1
0
forked from pool/trilead-ssh2
Fridrich Strba 2022-03-18 16:42:29 +00:00 committed by Git OBS Bridge
parent def42f897c
commit 5faa13aab3
2 changed files with 9 additions and 4 deletions

View File

@ -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>

View File

@ -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