!15 Obsoletes tomcat-native

From: @caodongxia
Reviewed-by: @zhuchunyi
Signed-off-by: @zhuchunyi
This commit is contained in:
openeuler-ci-bot 2021-11-15 01:35:40 +00:00 committed by Gitee
commit 1081448cbb

View File

@ -1,6 +1,6 @@
Name: libtcnative-1-0 Name: libtcnative-1-0
Version: 1.2.23 Version: 1.2.23
Release: 3 Release: 4
Summary: JNI wrappers for Apache Portable Runtime for Tomcat Summary: JNI wrappers for Apache Portable Runtime for Tomcat
License: Apache-2.0 License: Apache-2.0
Url: https://tomcat.apache.org/tomcat-7.0-doc/apr.html Url: https://tomcat.apache.org/tomcat-7.0-doc/apr.html
@ -12,6 +12,8 @@ Source2: %{name}.keyring
BuildRequires: fdupes java-devel javapackages-tools apr-devel gcc BuildRequires: fdupes java-devel javapackages-tools apr-devel gcc
BuildRequires: openssl-devel >= 1.0.2 pkgconfig BuildRequires: openssl-devel >= 1.0.2 pkgconfig
Provides: tcnative = %{version} Provides: tcnative = %{version}
Provides: tomcat-native = %{version}
Obsoletes: tomcat-native < %{version}
%description %description
Tomcat can use the Apache Portable Runtime to provide superior Tomcat can use the Apache Portable Runtime to provide superior
@ -77,6 +79,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/libtcnative-1.a %{_libdir}/libtcnative-1.a
%changelog %changelog
* Wed Nov 10 2021 caodongxia <caodongxia@huawei.com> - 1.2.23-4
- Obsoletes tomcat-native
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 1.2.23-3 * Tue Jun 08 2021 wulei <wulei80@huawei.com> - 1.2.23-3
- fixes failed: error: C compiler cannot create executables - fixes failed: error: C compiler cannot create executables