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

From: @wu-leilei
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-06-08 20:45:52 +08:00 committed by Gitee
commit afe7e932a3

View File

@ -1,6 +1,6 @@
Name: libtcnative-1-0
Version: 1.2.23
Release: 2
Release: 3
Summary: JNI wrappers for Apache Portable Runtime for Tomcat
License: Apache-2.0
Url: https://tomcat.apache.org/tomcat-7.0-doc/apr.html
@ -9,7 +9,7 @@ Source1: https://archive.apache.org/dist/tomcat/tomcat-connectors/na
# https://www.apache.org/dist/tomcat/tomcat-connectors/KEYS
Source2: %{name}.keyring
BuildRequires: fdupes java-devel javapackages-tools apr-devel
BuildRequires: fdupes java-devel javapackages-tools apr-devel gcc
BuildRequires: openssl-devel >= 1.0.2 pkgconfig
Provides: tcnative = %{version}
@ -77,6 +77,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libtcnative-1.a
%changelog
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 1.2.23-3
- fixes failed: error: C compiler cannot create executables
* Sun Sep 27 2020 huanghaitao <huanghaitao8@huawei.com> - 1.2.23-2
- Delete tomcat-native provides to fix confilct