Obsoletes tomcat-native

(cherry picked from commit fb71869448670436f3eca31386784d73fdf0cd08)
(cherry picked from commit 5898ecda59f3435c5e76081e415dab954fb54790)
This commit is contained in:
caodongxia 2021-11-10 09:50:57 +08:00 committed by openeuler-sync-bot
parent 87b1f9fb12
commit b21a1fef10

View File

@ -1,6 +1,6 @@
Name: libtcnative-1-0
Version: 1.2.23
Release: 3
Release: 4
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-1.8.0-openjdk-devel javapackages-tools apr-devel
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 Sep 15 2021 caodongxia <caodongxia@huawei.com> - 1.2.23-4
- Obsoletes tomcat-native
* Wed Sep 15 2020 huanghaitao <huanghaitao8@huawei.com> - 1.2.23-3
- Modify buildrequires: java-devel to java-1.8.0-openjdk-devel