SPECS: flixengine.spec - rename initscript to flixd for %service t...

glen glen at pld-linux.org
Thu Dec 28 19:07:11 CET 2006


Author: glen                         Date: Thu Dec 28 18:07:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rename initscript to flixd for %service to match lockfile

---- Files affected:
SPECS:
   flixengine.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/flixengine.spec
diff -u SPECS/flixengine.spec:1.19 SPECS/flixengine.spec:1.20
--- SPECS/flixengine.spec:1.19	Thu Dec 28 19:04:13 2006
+++ SPECS/flixengine.spec	Thu Dec 28 19:07:06 2006
@@ -16,7 +16,7 @@
 Summary(pl):	Silnik On2 Flix
 Name:		flixengine
 Version:	8.0.7.1
-Release:	0.7
+Release:	0.8
 License:	not distributable
 Group:		Applications
 # download demo from http://flix.on2.com/demos/
@@ -265,7 +265,7 @@
 	--no-init \
 	--noprereqlibs
 
-install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/flixengine
+install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/flixd
 
 cd .flix-engine-installation-files
 
@@ -327,7 +327,7 @@
 %postun	libs -p /sbin/ldconfig
 
 %post
-/sbin/chkconfig --add %{name}
+/sbin/chkconfig --add flixd
 if [ ! -s /var/lib/on2/hostinfo ]; then
 	%{_sbindir}/on2_host_info > /var/lib/on2/hostinfo
 %banner -e %{name} <<EOF
@@ -335,12 +335,12 @@
 # %{_sbindir}/lget -u '<username>' -s '<serial>' -i /var/lib/on2/hostinfo -o /var/lib/on2/on2product.lic -a 'On2FlixEngine/%{version}_DEMO (%(uname -o))'
 EOF
 fi
-%service %{name} restart
+%service flixd restart
 
 %preun
 if [ "$1" = "0" ]; then
-	%service -q %{name} stop
-	/sbin/chkconfig --del %{name}
+	%service -q flixd stop
+	/sbin/chkconfig --del flixd
 fi
 
 %post -n php-flixengine
@@ -358,7 +358,7 @@
 %attr(755,root,root) %{_sbindir}/flixd
 %attr(755,root,root) %{_sbindir}/lget
 %attr(755,root,root) %{_sbindir}/on2_host_info
-%attr(754,root,root) /etc/rc.d/init.d/flixengine
+%attr(754,root,root) /etc/rc.d/init.d/flixd
 %{_mandir}/man8/flixd.8*
 %dir /var/lib/on2
 %config(noreplace) %verify(not md5 mtime size) /var/lib/on2/hostinfo
@@ -432,6 +432,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/12/28 18:07:06  glen
+- rename initscript to flixd for %service to match lockfile
+
 Revision 1.19  2006/12/28 18:04:13  glen
 - separate -docs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/flixengine.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list