Related: rhbz#1594139 Remove all ties to the tomcat package by cleaning up Provides and Obsoletes that overwrite any tomcat packages and result in pki-servlet-container being installed in cases we don't want it to tbe installed in

This commit is contained in:
Coty Sutherland 2018-06-22 09:51:25 -04:00
parent 10e8d18d0e
commit 5b41d32bf8

View File

@ -101,24 +101,7 @@ Requires(preun): chkconfig
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
# added after log4j sub-package was removed
Provides: tomcat-log4j = %{epoch}:%{version}-%{release}
# Leftover requires/provides from removing the subpackages
# they still apply in instances where the old version is installed.
#%%package jsp-%%{jspspec}-api
Provides: jsp = %{jspspec}
Obsoletes: tomcat-jsp-2.2-api
#%%package lib
Requires(preun): coreutils
#%%package el-%%{elspec}-api
Provides: el_api = %{elspec}
Obsoletes: tomcat-el-2.2-api
Requires: pki-servlet-%{servletspec}-api = %{epoch}:%{version}-%{release}
%description
@ -134,10 +117,6 @@ to be a collaboration of the best-of-breed developers from around the world.
%package -n pki-servlet-%{servletspec}-api
Group: Development/Libraries
Summary: Apache Tomcat Java Servlet v%{servletspec} API Implementation Classes
Provides: servlet = %{servletspec}
Provides: servlet6
Provides: servlet3
Obsoletes: tomcat-servlet-3.1-api
Requires(post): chkconfig
Requires(postun): chkconfig