!5 修复因缺少依赖导致编译失败问题
From: @wu-leilei Reviewed-by: @hht8,@wangchong1995924 Signed-off-by: @wangchong1995924
This commit is contained in:
commit
670969bdbd
7
jna.spec
7
jna.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jna
|
Name: jna
|
||||||
Version: 4.5.1
|
Version: 4.5.1
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: Pure Java access to native libraries
|
Summary: Pure Java access to native libraries
|
||||||
License: (LGPLv2 or ASL 2.0) and ASL 2.0
|
License: (LGPLv2 or ASL 2.0) and ASL 2.0
|
||||||
URL: https://github.com/java-native-access/jna/
|
URL: https://github.com/java-native-access/jna/
|
||||||
@ -23,7 +23,7 @@ Patch0003: 0004-Fix-javadoc-build.patch
|
|||||||
Patch0004: 0005-Fix-duplicate-manifest-entry.patch
|
Patch0004: 0005-Fix-duplicate-manifest-entry.patch
|
||||||
# Remove Werror flag for build
|
# Remove Werror flag for build
|
||||||
Patch0005: 0006-Remove-Werror.patch
|
Patch0005: 0006-Remove-Werror.patch
|
||||||
BuildRequires: make javapackages-local libffi-devel ant ant-junit
|
BuildRequires: make javapackages-local libffi-devel ant ant-junit gcc
|
||||||
BuildRequires: junit libX11-devel libXt-devel reflections
|
BuildRequires: junit libX11-devel libXt-devel reflections
|
||||||
Requires: libffi
|
Requires: libffi
|
||||||
Provides: jna-contrib = %{version}-%{release}
|
Provides: jna-contrib = %{version}-%{release}
|
||||||
@ -75,6 +75,9 @@ install -D -m 755 build/native*/libjnidispatch.so %{buildroot}%{_libdir}/jna/lib
|
|||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 2 2021 wulei <wulei80@huawei.com> - 4.5.1-7
|
||||||
|
- fixes failed: gcc: command not found
|
||||||
|
|
||||||
* Tue Mar 3 2020 chenli <chenli147@huawei.com> - 4.5.1-6
|
* Tue Mar 3 2020 chenli <chenli147@huawei.com> - 4.5.1-6
|
||||||
- Fixed URL
|
- Fixed URL
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user