X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=codemux.spec;h=101464d2fa9278edf191c3f7c2382631238e95d5;hb=af98a476dae915bd6e8445cd47609d8a6a42355b;hp=337de1c973bbcf358fcae59c402626f2ba9c2486;hpb=3238906f14511128dfbf6512e8bbaa2332ff9f36;p=codemux.git diff --git a/codemux.spec b/codemux.spec index 337de1c..101464d 100644 --- a/codemux.spec +++ b/codemux.spec @@ -1,6 +1,6 @@ -%define name proper +%define name codemux %define version 0.1 -%define release 3%{?pldistro:.%{pldistro}}%{?date:.%{date}} +%define release 4%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: CoDemux - HTTP port DeMux Name: codemux @@ -44,16 +44,15 @@ if [ -z "$PL_BOOTCD" ]; then fi %preun -#if [ "$1" = 0 ]; then +if [ "$1" = 0 ]; then # erase, not upgrade -# chkconfig --del codemux + chkconfig --del codemux # stop daemon if its currently running -# if [ "`/etc/init.d/codemux status`" = "running" ]; then -# /etc/init.d/codemux stop -# fi -#fi -# %doc + if [ "`/etc/init.d/codemux status`" = "running" ]; then + /etc/init.d/codemux stop + fi +fi %changelog * Sun Apr 22 2007 KYOUNGSOO PARK -