Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Jan Staněk
4e3f22b660 Set 'missingok' for /etc/cron.deny
If the file was already deleted by administrator,
we do not want to recreate it on reinstall or update.
2022-07-01 15:11:17 +02:00

View file

@ -6,7 +6,7 @@
Summary: Cron daemon for executing programs at set times
Name: cronie
Version: 1.5.7
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT and BSD and ISC and GPLv2+
URL: https://github.com/cronie-crond/cronie
Source0: https://github.com/cronie-crond/cronie/releases/download/cronie-%{version}/cronie-%{version}.tar.gz
@ -188,7 +188,7 @@ exit 0
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/pam.d/crond
%endif
%config(noreplace) %{_sysconfdir}/sysconfig/crond
%config(noreplace) %{_sysconfdir}/cron.deny
%config(noreplace,missingok) %{_sysconfdir}/cron.deny
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/0hourly
%attr(0644,root,root) /lib/systemd/system/crond.service
@ -207,6 +207,9 @@ exit 0
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/dailyjobs
%changelog
* Tue Jun 28 2022 Jan Staněk <jstanek@redhat.com> - 1.5.7-4
- Set 'missingok' for /etc/cron.deny to not recreate it on update
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild