Summary: Cron daemon for executing programs at set times
Name: cronie
-Version: 1.4.6
-Release: 2
+Version: 1.4.7
+Release: 1
License: MIT and BSD and GPL v2
Group: Daemons
Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
-# Source0-md5: 968e3d3e7c8e1d0588d533883482d3fa
+# Source0-md5: dfc26c47756d0c40ee27ae3c7ee98e0d
Source1: %{name}.init
Source2: cron.logrotate
Source3: cron.sysconfig
--with%{!?with_selinux:out}-selinux \
--with%{!?with_audit:out}-audit \
--with%{!?with_inotify:out}-inotify \
+ --enable-pie \
+ --enable-relro \
--enable-anacron
%{__make}
%groupremove crontab
fi
-%triggerin -- pam
-# restart crond if pam is upgraded
-# (crond is linked with old libpam but tries to open modules linked with new libpam)
-if [ "$2" != 1 ]; then
- %service -q crond restart
-fi
-
%triggerun -- hc-cron,fcron,vixie-cron
# Prevent preun from crond from working
chmod a-x /etc/rc.d/init.d/crond
%attr(1730,root,crontab) /var/spool/anacron
+%if "%{pld_release}" != "ti"
%files upstart
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) /etc/init/crond.conf
+%endif