OSDN Git Service

release 0.6.3-2 (typo)
[pysilhouette/pysilhouette.git.git] / doc / redhat.spec
index 8355644..f750917 100644 (file)
@@ -1,11 +1,12 @@
 %define name pysilhouette
 %define version 0.6.3
-%define release 1
+%define release 2
 %define date %(echo `LANG=C date +%%Y%%m%%d%%H%%M%%S`)
 
 %define _prefix /opt
 
 %define __python $(which python)
+%define __chkconfig     /sbin/chkconfig
 %define __app pysilhouette
 %define __prog silhouette
 %define __progd %{__prog}d
@@ -113,13 +114,17 @@ fi
 if [ ! -e %{__datadir} ]; then
   mkdir -p %{__datadir} 2> /dev/null
 fi
+%{__chkconfig} --add silhouetted >/dev/null 2>&1
+%{__chkconfig} silhouetted on >/dev/null 2>&1
+#%{_initrddir}/silhouetted start >/dev/null 2>&1
 
 %postun
 if [ $1 = 0 ]; then
   /usr/sbin/userdel %{_user} 2> /dev/null || :
   /usr/sbin/groupdel %{_group} 2> /dev/null || :
 fi
-
+#%{_initrddir}/silhouetted stop >/dev/null 2>&1
+#%{__chkconfig} --del silhouetted >/dev/null 2>&1
 
 %files -f INSTALLED_FILES
 %defattr(-,root,root)
@@ -137,6 +142,9 @@ fi
 %dir /var/log/%{__app}
 
 %changelog
+* Fri Jun 04 2010 Kei Funagayama <kei.topaz@gmail.com> - 0.6.3-2
+- bugfix: http://list.karesansui-project.info/pipermail/karesansui-users-jp/2010-June/000063.html
+
 * Tue Aug 04 2009 Kei Funagayama <kei@karesansui-project.info> - 0.6.3-1
 - Add Command Tools.
 - Add Debian packaging.