From bcbc4b9e504eaf36078cefda483d513a33cfb125 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Nov 2023 07:54:53 +0100 Subject: weak dependencies on systemd --- unit.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/unit.spec b/unit.spec index 8c2d02b..e5b2f4e 100644 --- a/unit.spec +++ b/unit.spec @@ -19,7 +19,7 @@ Name: unit Summary: NGINX Unit application server Version: 1.31.1 -Release: 1%{?dist} +Release: 2%{?dist} License: Apache-2.0 URL: https://unit.nginx.org/ @@ -39,7 +39,11 @@ BuildRequires: clang BuildRequires: llvm %endif +%if 0%{?rhel} == 7 %{?systemd_requires} +%else +%{?systemd_ordering} +%endif Requires(pre): /usr/sbin/useradd Requires: logrotate @@ -211,6 +215,9 @@ BANNER %changelog +* Mon Nov 6 2023 Remi Collet - 1.31.1-2 +- weak dependencies on systemd + * Thu Oct 19 2023 Remi Collet - 1.31.1-1 - update to 1.31.1 -- cgit