]> git.pld-linux.org Git - packages/cronie.git/blobdiff - cronie.spec
- up to 1.4.7, --enable-pie, --enable-relro
[packages/cronie.git] / cronie.spec
index 5c51b1f3a5b9b75695124bef8fbdb1051510d74a..bc93a254ea4dc75fd30790b8a43a7d9ecdd5c702 100644 (file)
 
 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
@@ -111,6 +111,8 @@ Opis zadania Upstart dla Cronie.
        --with%{!?with_selinux:out}-selinux \
        --with%{!?with_audit:out}-audit \
        --with%{!?with_inotify:out}-inotify \
+       --enable-pie \
+       --enable-relro \
        --enable-anacron
 
 %{__make}
@@ -170,13 +172,6 @@ if [ "$1" = "0" ]; then
        %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
@@ -225,6 +220,8 @@ chmod 754 /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
This page took 0.068123 seconds and 4 git commands to generate.