diff --git a/at-3.1.14-usePOSIXtimers.patch b/at-3.1.14-usePOSIXtimers.patch index ebf7d8d..89c5614 100644 --- a/at-3.1.14-usePOSIXtimers.patch +++ b/at-3.1.14-usePOSIXtimers.patch @@ -5,7 +5,7 @@ diff -up at-3.1.14/atd.c.timers at-3.1.14/atd.c return next_job; } -+#ifdef HAVE_CLOCK_GETTIME ++#ifdef HAVE_TIMER_CREATE +timer_t timer; +struct itimerspec timeout; + @@ -89,7 +89,7 @@ diff -up at-3.1.14/config.h.in.timers at-3.1.14/config.h.in /* Define to 1 if you have the `getloadavg' function. */ #undef HAVE_GETLOADAVG -+/* Define to 1 if you have the `clock_gettime' function. */ ++/* Define to 1 if you have the `timer_create' function. */ +#undef HAVE_TIMER_CREATE + /* Define to 1 if you have the header file. */ diff --git a/at.spec b/at.spec index 0f0047c..1691768 100644 --- a/at.spec +++ b/at.spec @@ -3,7 +3,7 @@ Summary: Job spooling tools Name: at Version: 3.1.20 -Release: 3%{?dist} +Release: 4%{?dist} # http://packages.debian.org/changelogs/pool/main/a/at/current/copyright # + install-sh is MIT license with changes under Public Domain License: GPLv3+ and GPLv2+ and ISC and MIT and Public Domain @@ -179,6 +179,9 @@ chown daemon:daemon %{_localstatedir}/spool/at/.SEQ %attr(0644,root,root) /%{_unitdir}/atd.service %changelog +* Tue Mar 28 2017 Tomáš Mráz - 3.1.20-4 +- fix the POSIX timers support (#1436523) + * Fri Feb 10 2017 Fedora Release Engineering - 3.1.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild