summaryrefslogtreecommitdiffstats
path: root/unit.spec
diff options
context:
space:
mode:
Diffstat (limited to 'unit.spec')
-rw-r--r--unit.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 1.31.1-2
+- weak dependencies on systemd
+
* Thu Oct 19 2023 Remi Collet <remi@remirepo.net> - 1.31.1-1
- update to 1.31.1