1
0

Accepting request 1158088 from server:mail

- Update to release 6

OBS-URL: https://build.opensuse.org/request/show/1158088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/system-user-gromox?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-03-15 19:30:47 +00:00 committed by Git OBS Bridge
commit dd3c17e84d
4 changed files with 27 additions and 13 deletions

View File

@ -1,4 +1,4 @@
system-user-gromox (5-0) unstable; urgency=low system-user-gromox (6-0) unstable; urgency=low
* That's it. * That's it.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 14 21:30:34 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 6
* Switch back to %sysusers_generate_pre because systemd-sysusers
is not present in buildroots.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 12 23:54:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Tue Mar 12 23:54:28 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

4
system-user-gromox.conf Normal file
View File

@ -0,0 +1,4 @@
g gromox -
g gromoxcf -
u gromox - "Gromox services"
m gromox gromoxcf

View File

@ -17,18 +17,21 @@
Name: system-user-gromox Name: system-user-gromox
Version: 5 Version: 6
Release: 0 Release: 0
Summary: System user and group gromox Summary: System user and group gromox
License: MIT License: MIT
Group: System/Fhs Group: System/Fhs
#Source: https://download.grommunio.com/community/openSUSE_Tumbleweed/system-user-gromox-*.src.rpm
URL: https://grommunio.com/ URL: https://grommunio.com/
Source: system-user-gromox.conf
BuildArch: noarch BuildArch: noarch
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
%if 0%{?suse_version} %if 0%{?suse_version}
# SUSE doing SUSE things again
BuildRequires: sysuser-tools BuildRequires: sysuser-tools
%sysusers_requires
%endif
%if 0%{?rhel} || 0%{?fedora_version}
%{?sysusers_requires_compat}
%endif %endif
%description %description
@ -41,18 +44,18 @@ This package provides the gromox account.
# gromox.spec so that e.g. grommunio-admin-api does not grow a # gromox.spec so that e.g. grommunio-admin-api does not grow a
# BuildRequire on gromox (wait times). # BuildRequire on gromox (wait times).
# #
cat >u.conf <<-EOF >user.pre
g gromox - %if 0%{?suse_version}
g gromoxcf - %sysusers_generate_pre %_sourcedir/system-user-gromox.conf user
u gromox - "Gromox services" %endif
m gromox gromoxcf
EOF
%install %install
install -Dpm0644 u.conf "%buildroot/%_sysusersdir/system-user-gromox.conf" install -Dpm0644 %_sourcedir/system-user-gromox.conf "%buildroot/%_sysusersdir/system-user-gromox.conf"
%post %pre -f user.pre
%sysusers_create system-user-gromox.conf %if 0%{?rhel} || 0%{?fedora_version}
%sysusers_create_compat %_sourcedir/system-user-gromox.conf
%endif
%files %files
%_sysusersdir/*.conf %_sysusersdir/*.conf