From 290c4c251713d979cd3855d60096a39c4306f218 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 24 Mar 2009 15:14:20 +0000 Subject: [PATCH] Monotone-Parent: 066415866c34e37d51f2dd40a9e5f8469c495393 Monotone-Revision: cb528ed9e72c06055c7fde882bedd15f7ef64451 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-03-24T15:14:20 Monotone-Branch: ca.inverse.sogo --- sogo.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sogo.spec b/sogo.spec index 044f9af60..ef5b7b99b 100644 --- a/sogo.spec +++ b/sogo.spec @@ -97,9 +97,7 @@ rm -fr ${RPM_BUILD_ROOT} # ****************************** build ******************************** %build . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh -./configure \ - --enable-strip \ - --disable-debug +./configure case %{_target_platform} in ppc64-*) @@ -222,8 +220,11 @@ if ! id sogo >& /dev/null; then /usr/sbin/adduser sogo > /dev/null 2>&1; fi /sbin/chkconfig --add sogod %preun -/sbin/chkconfig --del sogod -/sbin/service sogod stop > /dev/null 2>&1 +if [ "$1" == "0" ] +then + /sbin/chkconfig --del sogod + /sbin/service sogod stop > /dev/null 2>&1 +fi %postun if test "$1" = "0"