Below is a patch for the amanda.spec file. This patch accomplishes a few things:

1) Sets the with_server option to no per Ralf's original suggestion
2) Fixes two problems in the spec file when building with_server no

Thanks, and congrats on the 2.0 release!

Scott


40c40
< %option with_server yes
---
> %option with_server no
125a126
> $RPM_BUILD_ROOT%{l_prefix}/etc/amanda \
133d133
< $RPM_BUILD_ROOT%{l_prefix}/etc/amanda \
185,187d184
< '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/amcheck' \
< '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/dumper' \
< '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/planner' \
191c188,193
< '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/killpgrp'
---
> '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/killpgrp' \
> %if "%{with_server}" == "yes"
> '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/sbin/amcheck' \
> '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/dumper' \
> '%attr(4711,%{l_susr},%{l_mgrp}) %{l_prefix}/libexec/amanda/planner' \
> %endif


______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to