File system-user-pegasus.spec of Package system-user-pegasus

#
# spec file for package system-user-pegasus
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           system-user-pegasus
Version:        1.0
Release:        0
Url:            https://build.opensuse.org
License:        MIT
Source:         system-user-pegasus.conf
BuildRequires:  sysuser-tools

Summary:        System user and group for tog-pegasus and cimple
%sysusers_requires
%description -n system-user-pegasus
System user and group for tog-pegasus

%prep

%build
%sysusers_generate_pre %{S:0} pegasus system-user-pegasus.conf

%install
install -D -m 0644 %{S:0} %{buildroot}%{_sysusersdir}/system-user-pegasus.conf

%pre -n system-user-pegasus -f pegasus.pre

%files -n system-user-pegasus
%{_sysusersdir}/system-user-pegasus.conf

%changelog
openSUSE Build Service is sponsored by