Change-Id: Ice7852bd9be75e125aa2665b1168aaffe80586aa
Reviewed-on: http://photon-jenkins.eng.vmware.com/602
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Cron Daemon |
| 2 | 2 |
Name: cronie |
| 3 | 3 |
Version: 1.5.0 |
| 4 |
-Release: 5%{?dist}
|
|
| 4 |
+Release: 6%{?dist}
|
|
| 5 | 5 |
License: GPLv2+ and MIT and BSD and ISC |
| 6 | 6 |
URL: https://fedorahosted.org/cronie |
| 7 | 7 |
Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
|
| ... | ... |
@@ -39,12 +39,15 @@ install -vdm700 %{buildroot}/usr/var/spool/cron
|
| 39 | 39 |
install -vd %{buildroot}%{_sysconfdir}/sysconfig/
|
| 40 | 40 |
install -vd %{buildroot}%{_sysconfdir}/cron.d/
|
| 41 | 41 |
install -vd %{buildroot}%{_sysconfdir}/cron.hourly
|
| 42 |
+install -vd %{buildroot}%{_sysconfdir}/cron.daily
|
|
| 43 |
+install -vd %{buildroot}%{_sysconfdir}/cron.weekly
|
|
| 44 |
+install -vd %{buildroot}%{_sysconfdir}/cron.monthly
|
|
| 42 | 45 |
install -vd %{buildroot}/var/spool/anacron
|
| 43 | 46 |
|
| 44 | 47 |
install -m 644 crond.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/crond
|
| 45 | 48 |
install -m 644 contrib/anacrontab %{buildroot}%{_sysconfdir}/anacrontab
|
| 46 |
-install -c -m755 contrib/0hourly %{buildroot}%{_sysconfdir}/cron.d/0hourly
|
|
| 47 |
-install -c -m755 contrib/0anacron %{buildroot}%{_sysconfdir}/cron.hourly/0anacron
|
|
| 49 |
+install -c -m644 contrib/0hourly %{buildroot}%{_sysconfdir}/cron.d/0hourly
|
|
| 50 |
+install -c -m644 contrib/0anacron %{buildroot}%{_sysconfdir}/cron.hourly/0anacron
|
|
| 48 | 51 |
install -m 644 contrib/dailyjobs %{buildroot}%{_sysconfdir}/cron.d/dailyjobs
|
| 49 | 52 |
|
| 50 | 53 |
touch %{buildroot}%{_sysconfdir}/cron.deny
|
| ... | ... |
@@ -81,6 +84,9 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 81 | 81 |
%dir %{_sysconfdir}/sysconfig/
|
| 82 | 82 |
%dir %{_sysconfdir}/cron.d/
|
| 83 | 83 |
%dir %{_sysconfdir}/cron.hourly
|
| 84 |
+%dir %{_sysconfdir}/cron.daily
|
|
| 85 |
+%dir %{_sysconfdir}/cron.weekly
|
|
| 86 |
+%dir %{_sysconfdir}/cron.monthly
|
|
| 84 | 87 |
%{_sysconfdir}/anacrontab
|
| 85 | 88 |
%{_sysconfdir}/cron.d/*
|
| 86 | 89 |
%{_sysconfdir}/cron.deny
|
| ... | ... |
@@ -91,6 +97,8 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 91 | 91 |
/var/spool/anacron/cron.monthly |
| 92 | 92 |
/var/spool/anacron/cron.weekly |
| 93 | 93 |
%changelog |
| 94 |
+* Fri Mar 04 2016 Anish Swaminathan <anishs@vmware.com> 1.5.0-6 |
|
| 95 |
+- Add folders to sysconfdir. |
|
| 94 | 96 |
* Mon Feb 08 2016 Anish Swaminathan <anishs@vmware.com> 1.5.0-5 |
| 95 | 97 |
- Change default sysconfdir. |
| 96 | 98 |
* Thu Dec 10 2015 Xiaolin Li <xiaolinl@vmware.com> 1.5.0-4 |