rpms/fcron/devel fcron.spec,1.15,1.16

Patrice Dumas pertusus at fedoraproject.org
Sun Nov 30 17:23:45 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/fcron/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9583

Modified Files:
	fcron.spec 
Log Message:
require setsid


Index: fcron.spec
===================================================================
RCS file: /cvs/extras/rpms/fcron/devel/fcron.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- fcron.spec	30 Nov 2008 17:19:36 -0000	1.15
+++ fcron.spec	30 Nov 2008 17:23:15 -0000	1.16
@@ -80,7 +80,7 @@
 Summary:	Set up fcron to watch config files like Vixie cron does
 Group:		Applications/System
 Requires:       %{name} = %{version}-%{release}
-Requires:       inotify-tools, crontabs, /bin/ps
+Requires:       inotify-tools, crontabs, /bin/ps, %{_bindir}/setsid
 
 Requires(post):		chkconfig
 Requires(preun):	chkconfig, initscripts
@@ -130,7 +130,6 @@
  -e 's|2 3 4 5||' \
  -e 's|SBIN=@@DESTSBIN@|SBIN=%{_sbindir}|' \
  -e 's|/var|%{_localstatedir}|' script/sysVinit-launcher > %{buildroot}%{_initrddir}/fcron
-%{__chmod} 0755 %{buildroot}%{_initrddir}/fcron
 
 %{__sed} \
  -e 's|/usr/sbin|%{_sbindir}|' \
@@ -152,15 +151,15 @@
 %{__chmod} 755 %{buildroot}%{_bindir}/*
 %{__chmod} 755 %{buildroot}%{_sbindir}/*
 
+# reset script timestamp
+touch -c -r script/check_system_crontabs %{buildroot}%{_sbindir}/check_system_crontabs
+touch -c -r %{SOURCE3} %{buildroot}%{_sbindir}/fcron_watch_config
+
 %{__install} -m755 -p debian/fcron-update-crontabs %{buildroot}%{_sbindir}/
 %{__install} -m644 -p debian/fcron-update-crontabs.1 %{buildroot}%{_mandir}/man1/
 
 %{__install} -m755 -p %{SOURCE5} %{buildroot}%{_sbindir}/
 
-# reset script timestamp
-touch -c -r script/check_system_crontabs %{buildroot}%{_sbindir}/check_system_crontabs
-touch -c -r %{SOURCE3} %{buildroot}%{_sbindir}/fcron_watch_config
-
 mkdir -p %{buildroot}%{_sysconfdir}/cron.d
 
 # remove a page that is hold in cron




More information about the scm-commits mailing list