From d4ae693668673636adde97d64e88d026cb215be4 Mon Sep 17 00:00:00 2001 From: caodongxia <315816521@qq.com> Date: Thu, 11 Nov 2021 09:41:10 +0800 Subject: [PATCH] Obsoletes tomcat-native --- libtcnative.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libtcnative.spec b/libtcnative.spec index 4f0408a..d7638ef 100644 --- a/libtcnative.spec +++ b/libtcnative.spec @@ -1,6 +1,6 @@ Name: libtcnative-1-0 Version: 1.2.23 -Release: 4 +Release: 5 Summary: JNI wrappers for Apache Portable Runtime for Tomcat License: Apache-2.0 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: openssl-devel >= 1.0.2 pkgconfig Provides: tcnative = %{version} +Provides: tomcat-native = %{version} +Obsoletes: tomcat-native < %{version} %description 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 %changelog +* Wed Nov 10 2021 caodongxia - 1.2.23-5 +- Obsoletes tomcat-native + * Tue Oct 26 2021 chenchen - 1.2.23-4 - change the spec file name to be the same as the repo name -- Gitee