From 32fc56bf5a132abc229863d511e4704e1c02fe00e47a603edd7fabf010e40c3e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 4 Mar 2024 16:55:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat10?expand=0&rev=37 --- tomcat10.changes | 7 +++++++ tomcat10.spec | 2 ++ 2 files changed, 9 insertions(+) diff --git a/tomcat10.changes b/tomcat10.changes index ab64cbe..07df72b 100644 --- a/tomcat10.changes +++ b/tomcat10.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 4 16:49:37 UTC 2024 - Fridrich Strba + +- Add %%systemd_ordering to packages with systemd unit files, so + that the order is the right one if those packages find themselves + in the same transaction with systemd + ------------------------------------------------------------------- Sat Feb 17 14:55:36 UTC 2024 - Fridrich Strba diff --git a/tomcat10.spec b/tomcat10.spec index 979fa10..4643ad4 100644 --- a/tomcat10.spec +++ b/tomcat10.spec @@ -136,6 +136,7 @@ Requires(post): libxslt-tools Requires(pre): shadow Requires: libtcnative-1-0 >= 1.2.38 Requires: logrotate +%systemd_ordering BuildArch: noarch Conflicts: %{app_name} Provides: group(tomcat) @@ -221,6 +222,7 @@ Summary: Apache jsvc wrapper for Apache Tomcat as separate service Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version}-%{release} Requires: apache-commons-daemon-jsvc +%systemd_ordering Conflicts: %{app_name}-jsvc %description jsvc