From 8d1071309ba933c136902d1008c6c2d4fe525f41 Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 8 Jun 2021 15:20:19 +0800 Subject: [PATCH] fixes failed: error: C compiler cannot create executables --- libtcnative-1-0.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libtcnative-1-0.spec b/libtcnative-1-0.spec index a3100a7..6d79759 100644 --- a/libtcnative-1-0.spec +++ b/libtcnative-1-0.spec @@ -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 - 1.2.23-3 +- fixes failed: error: C compiler cannot create executables + * Sun Sep 27 2020 huanghaitao - 1.2.23-2 - Delete tomcat-native provides to fix confilct -- Gitee