From 3dc267a465df47f1d14cd2d8826778bb8fd77ad0ed8c31470eb62d2e1d2e9ab2 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 30 Oct 2024 10:05:29 +0000 Subject: [PATCH 1/2] make BuildRequire for systemd-journal use group dependency OBS-URL: https://build.opensuse.org/package/show/server:monitoring/system-user-alloy?expand=0&rev=6 --- system-user-alloy.changes | 5 +++++ system-user-alloy.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/system-user-alloy.changes b/system-user-alloy.changes index 7f54d7c..c3a4da9 100644 --- a/system-user-alloy.changes +++ b/system-user-alloy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 30 09:56:05 UTC 2024 - Johannes Kastl + +- make BuildRequire for systemd-journal use group dependency + ------------------------------------------------------------------- Thu Oct 24 08:38:54 UTC 2024 - Johannes Kastl diff --git a/system-user-alloy.spec b/system-user-alloy.spec index 8e9be34..a4f5771 100644 --- a/system-user-alloy.spec +++ b/system-user-alloy.spec @@ -22,8 +22,12 @@ Release: 0 Summary: System user and group 'alloy' License: Apache-2.0 Source0: system-user-alloy.conf -BuildRequires: systemd BuildRequires: sysuser-tools +%if %{?suse_version} >= 1600 +BuildRequires: group(systemd-journal) +%else +BuildRequires: systemd +%endif BuildArch: noarch %sysusers_requires From da9a157d331fc520bd49ab9a04fa55737523f99486ba60987141634317b68287 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Wed, 30 Oct 2024 16:04:17 +0000 Subject: [PATCH 2/2] make BuildRequire for systemd-journal use group dependency OBS-URL: https://build.opensuse.org/package/show/server:monitoring/system-user-alloy?expand=0&rev=7 --- system-user-alloy.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system-user-alloy.spec b/system-user-alloy.spec index a4f5771..7ac40de 100644 --- a/system-user-alloy.spec +++ b/system-user-alloy.spec @@ -25,8 +25,10 @@ Source0: system-user-alloy.conf BuildRequires: sysuser-tools %if %{?suse_version} >= 1600 BuildRequires: group(systemd-journal) +Requires: group(systemd-journal) %else BuildRequires: systemd +Requires: systemd %endif BuildArch: noarch %sysusers_requires