rpms/smolt/F-8 smolt.spec,1.39,1.40
Jeffrey C. Ollie (jcollie)
fedora-extras-commits at redhat.com
Thu Feb 28 05:19:57 UTC 2008
Author: jcollie
Update of /cvs/pkgs/rpms/smolt/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14565
Modified Files:
smolt.spec
Log Message:
Copy instead of move cron file so that selinux contexts are set properly. (BZ#435050)
Index: smolt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/smolt/F-8/smolt.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- smolt.spec 27 Feb 2008 19:15:11 -0000 1.39
+++ smolt.spec 28 Feb 2008 05:19:23 -0000 1.40
@@ -1,7 +1,7 @@
Name: smolt
Summary: Fedora hardware profiler
Version: 1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL
Group: Applications/Internet
URL: http://hosted.fedoraproject.org/projects/smolt
@@ -149,7 +149,8 @@
#Randomize checkin times.
TMPFILE=$(/bin/mktemp /tmp/smolt.XXXXX)
/bin/awk '{ srand(); if($2 == 1 && $3 == 1) print $1,int((rand() * 100) % 22 + 1),int((rand() * 100) % 27 + 1),substr($0,index($0,$4)); else print $0}' /etc/cron.d/smolt > $TMPFILE
-/bin/mv $TMPFILE /etc/cron.d/smolt
+/bin/cp $TMPFILE /etc/cron.d/smolt
+/bin/rm -f $TMPFILE
%preun
if [ $1 = 0 ]; then
@@ -187,6 +188,10 @@
%{_bindir}/smoltGui
%changelog
+* Wed Feb 27 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.1-3
+- Copy instead of move cron file so that selinux contexts are set
+ properly. (BZ#435050)
+
* Wed Feb 27 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.1-2
- Create smolt user. (BZ#435136)
More information about the fedora-extras-commits
mailing list