From 772deb22aa2d3caa6a49249b603d9b93b15bb496 Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Dec 03 2008 13:30:31 +0000 Subject: - 464393 add script into pm-utils, because daemon wasn't taking all jobs after suspend/hibernate --- diff --git a/.cvsignore b/.cvsignore index 466ce26..5a68361 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ at_3.1.10.tar.gz +56atd diff --git a/at.spec b/at.spec index 587b5a6..ecc36cf 100644 --- a/at.spec +++ b/at.spec @@ -6,7 +6,7 @@ Summary: Job spooling tools Name: at Version: 3.1.10 -Release: 26%{?dist} +Release: 27%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ftp.debian.org/debian/pool/main/a/at @@ -14,6 +14,7 @@ Source: http://ftp.debian.org/debian/pool/main/a/at/at_%{major_ver}.tar.gz Source1: test.pl Source2: atd.init Source3: atd.sysconf +Source4: 56atd Patch0: at-3.1.7-lockfile.patch Patch1: at-3.1.10-makefile.patch Patch2: at-3.1.10-man-timespec-path.patch @@ -37,6 +38,7 @@ Patch18: selinux_mail.patch BuildRequires: fileutils chkconfig /etc/init.d BuildRequires: flex bison autoconf BuildRequires: libselinux-devel >= 1.27.9 +Requires: pm-utils %if %{WITH_PAM} BuildRequires: pam-devel @@ -107,7 +109,7 @@ make %{?_without_check: %define _without_check 1} %{!?_without_check: %define _without_check 1} -%if ! %{_without_check} +%if ! %{_without_check} LANG=C make test > /dev/null %endif @@ -138,12 +140,14 @@ install -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/rc.d/init.d/atd mv -f %{buildroot}/%{_mandir}/man5/at_allow.5 \ %{buildroot}/%{_mandir}/man5/at.allow.5 rm -f %{buildroot}/%{_mandir}/man5/at_deny.5 -ln -s at.allow.5 \ - %{buildroot}/%{_mandir}/man5/at.deny.5 +ln -s at.allow.5 %{buildroot}/%{_mandir}/man5/at.deny.5 mkdir -p %{buildroot}/etc/sysconfig install -m 755 %{SOURCE3} %{buildroot}/etc/sysconfig/atd +mkdir -p %{buildroot}/%{_libdir}/pm-utils/sleep.d/ +install -m 755 %{SOURCE4} %{buildroot}/%{_libdir}/pm-utils/sleep.d/56atd + # remove unpackaged files from the buildroot rm -r %{buildroot}%{_prefix}/doc @@ -185,8 +189,13 @@ fi %{_bindir}/atrm %{_bindir}/atq %attr(4755,root,root) %{_bindir}/at +%attr(0755,root,root) %{_libdir}/pm-utils/sleep.d/56atd %changelog +* Wed Dec 3 2008 Marcela Mašláňová - 3.1.10-27 +- 464393 add script into pm-utils, because daemon wasn't taking all jobs + after suspend/hibernate + * Fri Oct 24 2008 Marcela Mašláňová - 3.1.10-26 - update init script according to SysVInitScript diff --git a/sources b/sources index c59f49a..248dc4e 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 6e5857e23b3c32ea6995fb7f8989987e at_3.1.10.tar.gz +053188856f8d971c6239ed973cb85794 56atd