fix missing _cron-failure user by not overwriting sysusers file [release 1.15.19-2mamba;Fri Jan 06 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:18:48 +01:00
parent 0e85f9f957
commit f106941160

View File

@ -1,6 +1,6 @@
Name: systemd-cron Name: systemd-cron
Version: 1.15.19 Version: 1.15.19
Release: 1mamba Release: 2mamba
Summary: systemd units to provide cron daemon functionality by running scripts in cron directories Summary: systemd units to provide cron daemon functionality by running scripts in cron directories
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -48,7 +48,9 @@ The crontabs are automaticaly translated using (/usr)/lib/systemd/system-generat
install -d %{buildroot}%{_sysconfdir}/cron.{d,boot,minutely,hourly,daily,weekly,monthly,quarterly,semi-annually,yearly} install -d %{buildroot}%{_sysconfdir}/cron.{d,boot,minutely,hourly,daily,weekly,monthly,quarterly,semi-annually,yearly}
install -d -m0775 %{buildroot}/var/spool/cron install -d -m0775 %{buildroot}/var/spool/cron
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/systemd-cron.conf
echo "g crontab - -" >> %{buildroot}%{_sysusersdir}/systemd-cron.conf
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/crontab install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/crontab
install -d -m0755 %{buildroot}%{_presetdir} install -d -m0755 %{buildroot}%{_presetdir}
@ -138,6 +140,9 @@ touch /run/crond.bootdir
%doc LICENSE %doc LICENSE
%changelog %changelog
* Fri Jan 06 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15.19-2mamba
- fix missing _cron-failure user by not overwriting sysusers file
* Sun Jul 17 2022 Automatic Build System <autodist@mambasoft.it> 1.15.19-1mamba * Sun Jul 17 2022 Automatic Build System <autodist@mambasoft.it> 1.15.19-1mamba
- automatic version update by autodist - automatic version update by autodist