From aa35c00e2e157d45baf3c6b83b6bcc42ace63d8c3cc92784916216428231eb1b Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 6 Mar 2024 07:22:45 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=307 --- tomcat.changes | 6 ++++++ tomcat.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/tomcat.changes b/tomcat.changes index 4003508..9c17585 100644 --- a/tomcat.changes +++ b/tomcat.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 6 07:21:23 UTC 2024 - Fridrich Strba + +- Require(post) util-linux for packages that run "runuser" in %%post + scripts + ------------------------------------------------------------------- Mon Mar 4 16:49:37 UTC 2024 - Fridrich Strba diff --git a/tomcat.spec b/tomcat.spec index 7ea6a72..32f91a1 100644 --- a/tomcat.spec +++ b/tomcat.spec @@ -117,13 +117,14 @@ Requires: apache-commons-pool2 Requires: java >= 1.8 Requires(post): %fillup_prereq Requires(post): libxslt-tools +Requires(post): util-linux Requires(pre): shadow %systemd_ordering Recommends: libtcnative-1-0 >= 1.1.24 Recommends: logrotate -BuildArch: noarch Provides: group(tomcat) Provides: user(tomcat) +BuildArch: noarch %description Tomcat is the servlet container that is used in the official Reference @@ -138,6 +139,7 @@ Summary: The host manager and manager web applications for Apache Tomcat Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires(post): libxslt-tools +Requires(post): util-linux %description admin-webapps The host manager and manager web-based applications for Apache Tomcat. @@ -244,6 +246,7 @@ Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires: jakarta-taglibs-standard >= 1.1 Requires(post): libxslt-tools +Requires(post): util-linux %description webapps The ROOT and examples web applications for Apache Tomcat From 3d8db0e22193514d253d2c484480d95d9b65b3dace6b5b534223db338ac5ea56 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 6 Mar 2024 07:32:38 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=308 --- tomcat.changes | 5 ++--- tomcat.spec | 5 +++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tomcat.changes b/tomcat.changes index 9c17585..217521b 100644 --- a/tomcat.changes +++ b/tomcat.changes @@ -1,8 +1,7 @@ ------------------------------------------------------------------- -Wed Mar 6 07:21:23 UTC 2024 - Fridrich Strba +Wed Mar 6 07:18:06 UTC 2024 - Dan Čermák -- Require(post) util-linux for packages that run "runuser" in %%post - scripts +- Add missing Requires(post): util-linux to have runuser into post ------------------------------------------------------------------- Mon Mar 4 16:49:37 UTC 2024 - Fridrich Strba diff --git a/tomcat.spec b/tomcat.spec index 32f91a1..726de63 100644 --- a/tomcat.spec +++ b/tomcat.spec @@ -117,6 +117,7 @@ Requires: apache-commons-pool2 Requires: java >= 1.8 Requires(post): %fillup_prereq Requires(post): libxslt-tools +# for runuser Requires(post): util-linux Requires(pre): shadow %systemd_ordering @@ -139,6 +140,7 @@ Summary: The host manager and manager web applications for Apache Tomcat Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires(post): libxslt-tools +# for runuser Requires(post): util-linux %description admin-webapps @@ -156,6 +158,8 @@ Summary: The "docs" web application for Apache Tomcat Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires(post): libxslt-tools +# for runuser +Requires(post): util-linux %description docs-webapp The documentation of web application for Apache Tomcat. @@ -246,6 +250,7 @@ Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires: jakarta-taglibs-standard >= 1.1 Requires(post): libxslt-tools +# for runuser Requires(post): util-linux %description webapps