!2 修复因缺少依赖导致编译失败问题

From: @wu-leilei
Reviewed-by: @hht8,@wangchong1995924
Signed-off-by: @wangchong1995924
This commit is contained in:
openeuler-ci-bot 2021-06-15 01:52:02 +00:00 committed by Gitee
commit 93f8a6d5da

View File

@ -2,14 +2,14 @@
%global build_opts -Doffline=true -Divy.mode=local -Divysettings.xml=/etc/ivy/ivysettings.xml -Divy.revision=%{version}
Name: lz4-java
Version: 1.3.0
Release: 1
Release: 2
Summary: LZ4 compression for Java
License: ASL 2.0 and (BSD and GPLv2+)
URL: https://github.com/jpountz/lz4-java
Source0: https://github.com/jpountz/lz4-java/archive/%{version}.tar.gz
Patch0: lz4-java-1.3.0-build.patch
Patch1: lz4-java-1.3.0-junit_Assert.patch
BuildRequires: ant ant-junit aqute-bnd cpptasks ivy-local java-devel javapackages-local mvel
BuildRequires: ant ant-junit aqute-bnd cpptasks ivy-local java-devel javapackages-local mvel gcc
BuildRequires: objectweb-asm randomizedtesting-junit4-ant bea-stax-api xerces-j2 apache-parent
Provides: bundled(lz4) = r122
Provides: bundled(libxxhash) = r37
@ -71,5 +71,8 @@ ant %build_opts test
%license LICENSE.txt
%changelog
* Wed Jun 09 2021 wulei <wulei80@huawei.com> - 1.3.0-2
- fixes failed: Could not launch gcc
* Tue Aug 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1.3.0-1
- Package init