SHA256
1
0
forked from pool/tomcat
Fridrich Strba 2023-09-12 11:12:01 +00:00 committed by Git OBS Bridge
parent 8907d86932
commit d6dff44ec2
2 changed files with 2 additions and 7 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue Sep 12 11:03:44 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Require(pre) shadow because groupadd is needed early
-------------------------------------------------------------------
Tue May 23 04:25:45 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -83,6 +83,7 @@ Patch5: %{name}-%{major_version}.%{minor_version}-jdt.patch
Patch6: tomcat-9.0.75-secretRequired-default.patch
Patch7: tomcat-9.0-fix_catalina.patch
Patch8: tomcat-9.0-logrotate_everything.patch
BuildRequires: ant >= 1.8.1
BuildRequires: ant-antlr
BuildRequires: apache-commons-collections
@ -118,7 +119,6 @@ Requires: java >= 1.8
Requires(post): %fillup_prereq
Requires(pre): %{_sbindir}/groupadd
Requires(pre): %{_sbindir}/useradd
Requires(pre): shadow
Recommends: libtcnative-1-0 >= 1.1.24
Recommends: logrotate
BuildArch: noarch
@ -644,7 +644,7 @@ fi
%postun servlet-4_0-api
if [ $1 -eq 0 ] ; then
if [ ! -f %{_sysconfdir}/alternatives/servlet ]; then
# %{_sysconfdir}/alternatives/servlet was removed on uninstall.
# /etc/alternatives/servlet was removed on uninstall.
# Create a broken symlink to make sure update-alternatives works correctly and falls back
# to servletapi5 or servletapi4 if they're installed.
ln -s %{_javadir}/%{name}-servlet-%{servletspec}-api.jar %{_sysconfdir}/alternatives/servlet