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
This commit is contained in:
Johannes Kastl 2024-10-30 10:05:29 +00:00 committed by Git OBS Bridge
parent a4c720acff
commit 3dc267a465
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 30 09:56:05 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- make BuildRequire for systemd-journal use group dependency
-------------------------------------------------------------------
Thu Oct 24 08:38:54 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -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