From 9caf8c9aabb9cd23851412358c3267324deb5caa Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 16 Jan 2024 11:44:51 +0700 Subject: [PATCH] Drop dependency on pki-servlet-engine --- tomcatjss.spec | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tomcatjss.spec b/tomcatjss.spec index 794142f..dafb559 100644 --- a/tomcatjss.spec +++ b/tomcatjss.spec @@ -74,11 +74,7 @@ BuildRequires: slf4j-jdk14 BuildRequires: jss = 4.10 # Tomcat -%if 0%{?rhel} && ! 0%{?eln} -BuildRequires: pki-servlet-engine >= 1:9.0.7 -%else -BuildRequires: tomcat >= 1:9.0.7 -%endif +BuildRequires: tomcat %description JSS Connector for Apache Tomcat, installed via the tomcatjss package, @@ -105,11 +101,7 @@ Requires: slf4j-jdk14 Requires: jss = 4.10 # Tomcat -%if 0%{?rhel} && ! 0%{?eln} -Requires: pki-servlet-engine >= 1:9.0.7 -%else -Requires: tomcat >= 1:9.0.7 -%endif +Requires: tomcat Obsoletes: tomcatjss < %{version}-%{release} Provides: tomcatjss = %{version}-%{release}