From bf38eb7d64ff4ca0999197edfcd098c19eb1eeb9 Mon Sep 17 00:00:00 2001 From: marostegui Date: Fri, 10 Jul 2009 06:36:23 +0000 Subject: [PATCH] 2009-07-10 Manuel Arostegui * pandora_server.spec: Changed the architecture, changed the release, the "_" was a mistake. * pandora_server: Added chkconfig handling. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 7 +++++++ pandora_server/pandora_server | 2 ++ pandora_server/pandora_server.spec | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index eebbafb0a1..acd8388c53 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,10 @@ +2009-07-10 Manuel Arostegui + + * pandora_server.spec: Changed the architecture, changed the + release, the "_" was a mistake. + + * pandora_server: Added chkconfig handling. + 2009-07-09 Manuel Arostegui * pandora_server.spec: Removed unnecessary dependency. diff --git a/pandora_server/pandora_server b/pandora_server/pandora_server index 8d325d8ad2..38d96d1305 100755 --- a/pandora_server/pandora_server +++ b/pandora_server/pandora_server @@ -5,6 +5,8 @@ # Linux Version (generic) # v2.1 Build 081030 # http://www.pandorafms.com +# chkconfig: 23 99 99 +# description: Manages starting/stopping of server # Configurable path and filenames PANDORA_HOME="/etc/pandora/pandora_server.conf" diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec index 607a52ccf0..f7c3e18fa8 100644 --- a/pandora_server/pandora_server.spec +++ b/pandora_server/pandora_server.spec @@ -3,7 +3,7 @@ # %define name PandoraFMS_Server %define version 3.0.0 -%define release 1_ +%define release 1 Summary: Pandora FMS Server Name: %{name} @@ -17,7 +17,7 @@ Group: System/Monitoring Packager: Manuel Arostegui Prefix: /usr/share BuildRoot: %{_tmppath}/%{name}-buildroot -BuildArchitectures: i386 +BuildArchitectures: noarch %if "%{_vendor}" == "suse" Requires: perl-XML-Simple perl-DateManip perl-Net-SNMP %endif