diff --git a/at.spec b/at.spec index 58636646056bc7623e2b5ef719a441c36233a46e..765a8c8c997add0f7322ff7df256fcf9e2c2cdcb 100644 --- a/at.spec +++ b/at.spec @@ -1,6 +1,6 @@ Name: at Version: 3.2.2 -Release: 5 +Release: 6 Summary: A job manager License: GPLv3+, GPLv2+, ISC, MIT, Public Domain URL: http://ftp.debian.org/debian/pool/main/a/at @@ -95,6 +95,11 @@ make test %systemd_preun atd.service %post +if ! test -f %{_sysconfdir}/at.allow; then + touch %{_sysconfdir}/at.allow + chown root:root %{_sysconfdir}/at.allow + chmod og-rwx %{_sysconfdir}/at.allow +fi touch %{_localstatedir}/spool/at/.SEQ chmod 600 %{_localstatedir}/spool/at/.SEQ chown root:root %{_localstatedir}/spool/at/.SEQ @@ -124,6 +129,12 @@ chown root:root %{_localstatedir}/spool/at/.SEQ %{_mandir}/man*/* %changelog +* Mon May 27 2024 shixuantong - 3.2.2-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:create /etc/at.allow + * Fri May 24 2024 shixuantong - 3.2.2-5 - Type:bugfix - ID:NA