From 7c2b35d5ef16bae24deb3d5fcf533088aa58a53e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:18:49 +0100 Subject: [PATCH] re-enable runparts, disabled by default since 2.1.2 [release 2.1.3-2mamba;Sat Sep 16 2023] --- systemd-cron.spec | 80 +++++++++++++++++++++++++---------------------- 1 file changed, 42 insertions(+), 38 deletions(-) diff --git a/systemd-cron.spec b/systemd-cron.spec index 7a25dcb..f04de7e 100644 --- a/systemd-cron.spec +++ b/systemd-cron.spec @@ -1,6 +1,6 @@ Name: systemd-cron -Version: 1.16.2 -Release: 1mamba +Version: 2.1.3 +Release: 2mamba Summary: systemd units to provide cron daemon functionality by running scripts in cron directories Group: System/Servers Vendor: openmamba @@ -14,6 +14,9 @@ Patch0: systemd-cron-1.5.17-cron-failure-disable-DynamicUser.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libopenssl-devel +BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END %systemd_requires Requires: debianutils @@ -37,8 +40,12 @@ The crontabs are automaticaly translated using (/usr)/lib/systemd/system-generat --unitdir=%{_unitdir} \ --generatordir=%{_systemdgeneratordir} \ --confdir=%{_sysconfdir} \ - --enable-minutely --enable-quarterly --enable-semi_annually --enable-yearly \ - --enable-persistent --enable-setgid --enable-randomized-delay + --enable-runparts \ + --enable-minutely \ + --enable-quarterly \ + --enable-semi_annually + +# --enable-persistent --enable-setgid --enable-randomized-delay %make @@ -74,7 +81,7 @@ touch /run/crond.bootdir : %postun -%systemd_postun cron.target +%systemd_postun_with_restart cron.target : @@ -92,43 +99,25 @@ touch /run/crond.bootdir %dir %{_sysconfdir}/cron.semi-annually %dir %{_sysconfdir}/cron.yearly %{_bindir}/crontab -%{_unitdir}/cron-boot.service -%{_unitdir}/cron-boot.target -%{_unitdir}/cron-boot.timer -%{_unitdir}/cron-daily.service -%{_unitdir}/cron-daily.target -%{_unitdir}/cron-daily.timer -%{_unitdir}/cron-failure@.service -%{_unitdir}/cron-hourly.service -%{_unitdir}/cron-hourly.target -%{_unitdir}/cron-hourly.timer -%{_unitdir}/cron-minutely.service -%{_unitdir}/cron-minutely.target -%{_unitdir}/cron-minutely.timer -%{_unitdir}/cron-monthly.service -%{_unitdir}/cron-monthly.target -%{_unitdir}/cron-monthly.timer -%{_unitdir}/cron-quarterly.service -%{_unitdir}/cron-quarterly.target -%{_unitdir}/cron-quarterly.timer -%{_unitdir}/cron-semi-annually.service -%{_unitdir}/cron-semi-annually.target -%{_unitdir}/cron-semi-annually.timer +%{_unitdir}/cron-boot.* +%{_unitdir}/cron-daily.* +%{_unitdir}/cron-hourly.* +%{_unitdir}/cron-minutely.* +%{_unitdir}/cron-monthly.* +%{_unitdir}/cron-quarterly.* +%{_unitdir}/cron-semi-annually.* +%{_unitdir}/cron-weekly.* +%{_unitdir}/cron-yearly.* +%{_unitdir}/cron-mail@.service %{_unitdir}/cron-update.path %{_unitdir}/cron-update.service -%{_unitdir}/cron-weekly.service -%{_unitdir}/cron-weekly.target -%{_unitdir}/cron-weekly.timer -%{_unitdir}/cron-yearly.service -%{_unitdir}/cron-yearly.target -%{_unitdir}/cron-yearly.timer %{_unitdir}/cron.target %{_presetdir}/50-systemd-cron.preset -%dir %{_prefix}/lib/systemd-cron -%{_prefix}/lib/systemd-cron/boot_delay -%attr(2755,root,crontab) %{_prefix}/lib/systemd-cron/crontab_setgid -%{_prefix}/lib/systemd-cron/mail_on_failure -%{_prefix}/lib/systemd-cron/remove_stale_stamps +%dir %{_prefix}/libexec/systemd-cron +%{_prefix}/libexec/systemd-cron/boot_delay +%{_prefix}/libexec/systemd-cron/crontab_setgid +%{_prefix}/libexec/systemd-cron/mail_for_job +%{_prefix}/libexec/systemd-cron/remove_stale_stamps %{_systemdgeneratordir}/systemd-crontab-generator %{_sysusersdir}/systemd-cron.conf %attr(0770,root,crontab) %dir /var/spool/cron @@ -140,6 +129,21 @@ touch /run/crond.bootdir %doc LICENSE %changelog +* Sat Sep 16 2023 Silvan Calarco 2.1.3-2mamba +- re-enable runparts, disabled by default since 2.1.2 + +* Thu Sep 14 2023 Automatic Build System 2.1.3-1mamba +- automatic version update by autodist + +* Wed Sep 13 2023 Automatic Build System 2.1.2-1mamba +- automatic version update by autodist + +* Sun Sep 10 2023 Automatic Build System 2.1.1-1mamba +- automatic version update by autodist + +* Sat Sep 09 2023 Automatic Build System 2.1.0-1mamba +- automatic version update by autodist + * Sun Jul 30 2023 Automatic Build System 1.16.2-1mamba - automatic version update by autodist