!12 riscv64: update jdk version to 11
From: @zke-012020 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
7f2790bf55
@ -1,14 +1,15 @@
|
|||||||
%global debug_package %nil
|
%global debug_package %nil
|
||||||
Name: lz4-java
|
Name: lz4-java
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: LZ4 compression for Java
|
Summary: LZ4 compression for Java
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/jpountz/lz4-java
|
URL: https://github.com/jpountz/lz4-java
|
||||||
Source0: https://github.com/jpountz/lz4-java/archive/%{version}.tar.gz
|
Source0: https://github.com/jpountz/lz4-java/archive/%{version}.tar.gz
|
||||||
Patch1: 1-remove-comments-from-templates.patch
|
Patch1: 1-remove-comments-from-templates.patch
|
||||||
Patch2: 2-remove-cpptasks.patch
|
Patch2: 2-remove-cpptasks.patch
|
||||||
BuildRequires: ant ant-junit aqute-bnd cpptasks ivy-local java-devel javapackages-local mvel gcc xxhash-devel
|
BuildRequires: java-devel >= 1:11.0.0
|
||||||
|
BuildRequires: ant ant-junit aqute-bnd cpptasks ivy-local javapackages-local mvel gcc xxhash-devel
|
||||||
BuildRequires: objectweb-asm randomizedtesting-junit4-ant bea-stax-api xerces-j2 apache-parent lz4 lz4-devel
|
BuildRequires: objectweb-asm randomizedtesting-junit4-ant bea-stax-api xerces-j2 apache-parent lz4 lz4-devel
|
||||||
Requires: javapackages-tools
|
Requires: javapackages-tools
|
||||||
|
|
||||||
@ -46,7 +47,7 @@ find -name '*.so' -print -delete
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
pushd /usr/lib/jvm
|
pushd /usr/lib/jvm
|
||||||
dirname=`ls | grep java-1.8.0-openjdk-`
|
dirname=`ls | grep java-11-openjdk-`
|
||||||
javapath=/usr/lib/jvm/$dirname
|
javapath=/usr/lib/jvm/$dirname
|
||||||
popd
|
popd
|
||||||
export JAVA_HOME=$javapath
|
export JAVA_HOME=$javapath
|
||||||
@ -67,6 +68,9 @@ bnd wrap -p lz4-java.bnd -o dist/lz4-java-%{version}.jar --version %{version} di
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 22 2024 zke_012020 <keer.oerv@isrc.iscas.ac.cn> - 1.8.0-2
|
||||||
|
- Upgrade JDK version to 11
|
||||||
|
|
||||||
* Thu Jul 27 2023 chenchen <chen_aka_jan@163.com> - 1.8.0-1
|
* Thu Jul 27 2023 chenchen <chen_aka_jan@163.com> - 1.8.0-1
|
||||||
- Upgrade version to 1.8.0
|
- Upgrade version to 1.8.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user